| NMathFunctionsSumOfSquares(DoubleMatrix) Method |
Calculates the sum of the squared deviations from the mean of the elements
of the columns of a given matrix.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleVector SumOfSquares(
DoubleMatrix A
)
Public Shared Function SumOfSquares (
A As DoubleMatrix
) As DoubleVector
public:
static DoubleVector^ SumOfSquares(
DoubleMatrix^ A
)
static member SumOfSquares :
A : DoubleMatrix -> DoubleVector
Parameters
- A DoubleMatrix
- A matrix.
Return Value
DoubleVectorA new vector containing the sum of the squared deviations from
the mean of the elements of the columns of
A.
Remarks v[j] = (A[0,j] - mean)^2 + (A[i,j] - mean)^2 ...
See Also