Home > @josh-brown/vector > mean
Calculates the mean of the values in the vector x
Signature:
export declare function mean<S>(x: Vector<S>): S;|
Parameter |
Type |
Description |
|---|---|---|
|
x |
Vector<S> |
The vector for which to find the mean |
Returns:
S
Home > @josh-brown/vector > mean
Calculates the mean of the values in the vector x
Signature:
export declare function mean<S>(x: Vector<S>): S;|
Parameter |
Type |
Description |
|---|---|---|
|
x |
Vector<S> |
The vector for which to find the mean |
Returns:
S