pub fn pca_2<S>(points: &[Point2<S>]) -> Rotation2<S>where
S: Real + NumCast + RelativeEq<Epsilon = S> + Debug + MaybeSerDes,
Vector2<S>: NormedVectorSpace<S>,Expand description
2D principal component analysis
pub fn pca_2<S>(points: &[Point2<S>]) -> Rotation2<S>where
S: Real + NumCast + RelativeEq<Epsilon = S> + Debug + MaybeSerDes,
Vector2<S>: NormedVectorSpace<S>,2D principal component analysis