Click or drag to resize

NMathFunctionsSumOfSquares(FloatMatrix) Method

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: 7.4
Syntax
public static FloatVector SumOfSquares(
	FloatMatrix A
)

Parameters

A  FloatMatrix
A matrix.

Return Value

FloatVector
A new vector containing the sum of the squared deviations from the mean of the elements of the columns of A.
Remarks
C#
v[j] = (A[0,j] - mean)^2 + (A[i,j] - mean)^2 ...
See Also