| NMathFunctionsNaNSum(DoubleVector) Method |
Calculates the sum of a given vector's elements that are not
equal to NaN.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static double NaNSum(
DoubleVector v
)
Public Shared Function NaNSum (
v As DoubleVector
) As Double
public:
static double NaNSum(
DoubleVector^ v
)
static member NaNSum :
v : DoubleVector -> float
Parameters
- v DoubleVector
- A vector.
Return Value
DoubleThe sum of the elements in
v that are not
NaN.
Remarks sum = v[0] + v[1] + v[2]... + v[n]
See Also