Skip to content

Latest commit

 

History

History
54 lines (26 loc) · 779 Bytes

File metadata and controls

54 lines (26 loc) · 779 Bytes

Home > @josh-brown/vector > standardize

standardize() function

Returns the vector x shifted and scaled to have a mean of 0 and standard deviation of 1

Signature:

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

Parameters

Parameter

Type

Description

x

Vector<S>

The vector to standardize

Returns:

Vector<S>