Calculates the sum of the squared deviations from the mean of the elements of the columns of a given matrix that are not NaN.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public static DoubleVector NaNSumOfSquares(
	DoubleMatrix A
)
Visual Basic (Declaration)
Public Shared Function NaNSumOfSquares ( _
	A As DoubleMatrix _
) As DoubleVector
Visual C++
public:
static DoubleVector^ NaNSumOfSquares(
	DoubleMatrix^ A
)

Parameters

A
Type: CenterSpace.NMath.Core..::.DoubleMatrix
A matrix.

Return Value

A new vector containing the sum of the squared deviations from the mean of the elements of the columns of A that are not NaN.

Remarks

CopyC#
v[j] = (A[0,j] - mean)^2 + (A[i,j] - mean)^2 ...

See Also