MatrixMathColumnsToZeroMean Method |
This will center the matrix so that the mean of each column is null.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void ColumnsToZeroMean(
IMatrix<double> a,
IVector<double> mean
)
Parameters
- a IMatrixDouble
- The matrix where the columns should be centered.
- mean IVectorDouble
- You can provide a matrix of dimension(1,a.Cols) where the mean row vector is stored, or null if not interested in this vector.
Remarks Calling this function will change the matrix a to a column
centered matrix. The original matrix data are lost.
See Also