TableOfReal: Centre columns

A command that centres the columns in the selected TableOfReal objects.

Algorithm

The new values in the table, xij, will be:

xij = xijx·j,

where

x·j = ∑i=1..numberOfRows xij / numberOfRows,

the average of column j.


© djmw, April 22, 1998