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: 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 ) |
Parameters
- A
- Type: CenterSpace.NMath.Core..::.DoubleComplexMatrix
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.
Remarks
v[j] = (A[0,j] - mean)^2 + (A[i,j] - mean)^2 ...