| NMathFunctionsNaNMean(FloatVector) Method |
Calculates the mean of the vector elements that are not
equal to NaN.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static float NaNMean(
FloatVector v
)
Public Shared Function NaNMean (
v As FloatVector
) As Single
public:
static float NaNMean(
FloatVector^ v
)
static member NaNMean :
v : FloatVector -> float32
Parameters
- v FloatVector
- A vector.
Return Value
SingleThe mean of the elements in
v that are not
NaN.
Exceptions Remarks mean = (v[0] + v[1] + ...) / n
See Also