Calculates the sum of the squared deviations from the mean of the elements of the columns of a given matrix.

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

Syntax

C#
public static DoubleComplexVector SumOfSquares(
	DoubleComplexMatrix A
)
Visual Basic (Declaration)
Public Shared Function SumOfSquares ( _
	A As DoubleComplexMatrix _
) As DoubleComplexVector
Visual C++
public:
static DoubleComplexVector^ SumOfSquares(
	DoubleComplexMatrix^ A
)

Return Value

A new vector containing the sum of the squared deviations from the mean of the elements of the columns of A.

Remarks

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

See Also