| NMathFunctionsAbsSum(DoubleComplexSparseVector) Method |
Calculates the sum of the absolute value of a given vector's elements.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static double AbsSum(
DoubleComplexSparseVector v
)
Public Shared Function AbsSum (
v As DoubleComplexSparseVector
) As Double
public:
static double AbsSum(
DoubleComplexSparseVector^ v
)
static member AbsSum :
v : DoubleComplexSparseVector -> float
Parameters
- v DoubleComplexSparseVector
- A sparse vector.
Return Value
DoubleThe sum of the absolute value of the elements in
v.
Remarks sum = abs(v[0]) + abs(v[1]) + abs(v[2])...
See Also