Skip to content

Latest commit

 

History

History
54 lines (26 loc) · 729 Bytes

File metadata and controls

54 lines (26 loc) · 729 Bytes

Home > @josh-brown/vector > center

center() function

Returns the vector x, shifted so that its mean is at 0

Signature:

export declare function center<S>(x: Vector<S>): Vector<S>;

Parameters

Parameter

Type

Description

x

Vector<S>

The vector to center

Returns:

Vector<S>