Click or drag to resize

NMathFunctionsAbsSum(FloatComplexVector) 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 float AbsSum(
	FloatComplexVector v
)

Parameters

v  FloatComplexVector
A vector.

Return Value

Single
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