 | NMathFunctionsNaNMean(DoubleVector) 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
Syntaxpublic static double NaNMean(
DoubleVector v
)
Public Shared Function NaNMean (
v As DoubleVector
) As Double
public:
static double NaNMean(
DoubleVector^ v
)
static member NaNMean :
v : DoubleVector -> float
Parameters
- v DoubleVector
- A vector.
Return Value
DoubleThe mean of the elements in
v that are not
NaN.
Exceptions
Remarksmean = (v[0] + v[1] + ...) / n
See Also