82template <
typename VectorT >
85 typedef gmm::dense_matrix<double> Matrix;
86 typedef std::vector< double > Vector;
96 PCA( std::vector< VectorT >& _points, VectorT& _first , VectorT& _second , VectorT& _third);
114 void pca(std::vector< VectorT >& _points , VectorT& _first , VectorT& _second , VectorT& _third);
117 std::vector<double>& getLastEigenValues();
119 bool SymRightEigenproblem( Matrix &_mat_A, Matrix & _mat_VR,
120 std::vector< double > & _vec_EV );
123 std::vector<double> lastEigenValues_;
131#if defined(INCLUDE_TEMPLATES) && !defined(PCA_C)
133#include "PCAT_impl.hh"
Class for principal component Analysis.
void pca(std::vector< VectorT > &_points, VectorT &_first, VectorT &_second, VectorT &_third)
VectorT center_of_gravity(const std::vector< VectorT > &_points)
Namespace for principal Component Analysis.