Home > @josh-brown/vector > center
Returns the matrix A
with each column shifted so that its mean is at 0
Signature:
export declare function center<S>(A: Matrix<S>): Matrix<S>;
Parameter | Type | Description |
---|---|---|
A | Matrix<S> | The matrix to center |
Returns:
Matrix<S>
This does not shift the entire matrix uniformly