| NMathFunctionsNaNSumOfSquares(DoubleVector) 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 double NaNSumOfSquares(
DoubleVector v
)
Public Shared Function NaNSumOfSquares (
v As DoubleVector
) As Double
public:
static double NaNSumOfSquares(
DoubleVector^ v
)
static member NaNSumOfSquares :
v : DoubleVector -> float
Parameters
- v DoubleVector
- A vector.
Return Value
Double
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