| NMathFunctionsNaNSumOfSquares(FloatVector) Method |
Calculates the sum of the squared deviations from the mean of the elements
of a given vector that are not NaN.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static float NaNSumOfSquares(
FloatVector v
)
Public Shared Function NaNSumOfSquares (
v As FloatVector
) As Single
public:
static float NaNSumOfSquares(
FloatVector^ v
)
static member NaNSumOfSquares :
v : FloatVector -> float32
Parameters
- v FloatVector
- A vector.
Return Value
Single
The sum of the squared deviations from the mean of the elements
of
v that are not
NaN.
Remarks s = (v[0] - mean)^2 + (v[1] - mean)^2 ... + (v[n] - mean)^2
See Also