| NMathFunctionsAbsSum(DoubleComplexVector) 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 double AbsSum(
DoubleComplexVector v
)
Public Shared Function AbsSum (
v As DoubleComplexVector
) As Double
public:
static double AbsSum(
DoubleComplexVector^ v
)
static member AbsSum :
v : DoubleComplexVector -> float
Parameters
- v DoubleComplexVector
- A vector.
Return Value
DoubleThe 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