Click or drag to resize

NMathFunctionsAbsSum(DoubleComplexVector) Method

Calculates the sum of the L1 norms of a given vector's elements.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double AbsSum(
	DoubleComplexVector v
)

Parameters

v  DoubleComplexVector
A vector.

Return Value

Double
The absolute sum.
Remarks
sum = |v[0]| + |v[1]| ... |v[i]|, where |v[i]| is the sum of the magnitudes of the real and imaginary parts of v[i].
See Also