Trait nalgebra::Mean
[−]
[src]
pub trait Mean<N> { fn mean(&self) -> N; }
Trait for computing the covariance of a set of data.
Required Methods
fn mean(&self) -> N
Computes the mean of the observations stored by v
.
- For matrices, observations are stored in its rows.
- For vectors, observations are stored in its components (thus are 1-dimensional).