Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 675 Bytes

vector.center_1.md

File metadata and controls

28 lines (16 loc) · 675 Bytes

Home > @josh-brown/vector > center

center() function

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>;

Parameters

Parameter Type Description
A Matrix<S> The matrix to center

Returns:

Matrix<S>

Remarks

This does not shift the entire matrix uniformly