Calculates the sum of the absolute value of a given vector's elements.

Namespace:  CenterSpace.NMath.Matrix
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public static double AbsSum(
	DoubleComplexSparseVector v
)
Visual Basic (Declaration)
Public Shared Function AbsSum ( _
	v As DoubleComplexSparseVector _
) As Double
Visual C++
public:
static double AbsSum(
	DoubleComplexSparseVector^ v
)

Return Value

The sum of the absolute value of the elements in v.

Remarks

sum = abs(v[0]) + abs(v[1]) + abs(v[2])...

See Also