| NMathFunctionsAbsSum(FloatComplexVector) Method |
Calculates the sum of the L1 norms of a given vector's elements.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static float AbsSum(
FloatComplexVector v
)
Public Shared Function AbsSum (
v As FloatComplexVector
) As Single
public:
static float AbsSum(
FloatComplexVector^ v
)
static member AbsSum :
v : FloatComplexVector -> float32
Parameters
- v FloatComplexVector
- A vector.
Return Value
SingleThe 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