Home > @josh-brown/vector > mean
Calculates the mean vector of the matrix A
Signature:
export declare function mean<S>(A: Matrix<S>): Vector<S>;|
Parameter |
Type |
Description |
|---|---|---|
|
A |
Matrix<S> |
The matrix for which to find the mean vector |
Returns:
Vector<S>
The mean vector of a matrix is a vector of the means of the matrix columns