Skip to content

Latest commit

 

History

History
58 lines (28 loc) · 819 Bytes

File metadata and controls

58 lines (28 loc) · 819 Bytes

Home > @josh-brown/vector > mean

mean() function

Calculates the mean vector of the matrix A

Signature:

export declare function mean<S>(A: Matrix<S>): Vector<S>;

Parameters

Parameter

Type

Description

A

Matrix<S>

The matrix for which to find the mean vector

Returns:

Vector<S>

Remarks

The mean vector of a matrix is a vector of the means of the matrix columns