Trait nalgebra::Covariance [] [src]

pub trait Covariance<M> {
    fn covariance(&self) -> M;

    fn covariance_to(&self, out: &mut M) { ... }
}

Trait for computing the covariance of a set of data.

Required Methods

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

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).

Implementors