Click or drag to resize

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.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double NaNSumOfSquares(
	DoubleVector v
)

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
C#
s = (v[0] - mean)^2 + (v[1] - mean)^2 ... + (v[n] - mean)^2
See Also