Function ncollide_utils::cov_and_center [] [src]

pub fn cov_and_center<P>(pts: &[P]) -> (P::Vect::OuterProductType, P) where P: Point, P::Vect: Outer, P::Vect::OuterProductType: Zero

Computes the covariance matrix and center of a set of points.