The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



MeanCenterRows


Unit: SDL_matrix
Class: TMatrix
Declaration: procedure MeanCenterRows (means: TVector);

The method MeanCenterRows subtracts the mean of each row of matrix from the elements in that row. This means that the elements of the data matrix are shifted in a way that each row of the matrix has a zero mean. The means of all rows are returned in the parameters means.

The parameter means may be set to NIL, if these results are not needed. If means is not NIL then the size of the vector parameter means is automatically adjusted to the NrOfRows.

Hint: Background information on mean-centering of data can be found in Fundamentals of Statistics.

 



Last Update: 2023-Feb-06