Home > @josh-brown/vector > standardize
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>;|
Parameter |
Type |
Description |
|---|---|---|
|
x |
Vector<S> |
The vector to standardize |
Returns:
Vector<S>