Trait nalgebra::Cov
[−]
[src]
pub trait Cov<M> { fn cov(&self) -> M; fn cov_to(&self, out: &mut M) { ... } }
Trait for computing the covariance of a set of data.
Required Methods
fn cov(&self) -> M
Computes the covariance of the obsevations stored by m
:
- For matrices, observations are stored in its rows.
- For vectors, observations are stored in its components (thus are 1-dimensional).
Provided Methods
fn cov_to(&self, out: &mut M)
Computes the covariance of the obsevations stored by m
:
- For matrices, observations are stored in its rows.
- For vectors, observations are stored in its components (thus are 1-dimensional).