| NMathFunctionsNaNSum(FloatVector) 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 float NaNSum(
FloatVector v
)
Public Shared Function NaNSum (
v As FloatVector
) As Single
public:
static float NaNSum(
FloatVector^ v
)
static member NaNSum :
v : FloatVector -> float32
Parameters
- v FloatVector
- A vector.
Return Value
SingleThe sum of the elements in
v that are not
NaN.
Remarks sum = v[0] + v[1] + v[2]... + v[n]
See Also