88 template <
typename VectorT >
91 typedef gmm::dense_matrix<double> Matrix;
92 typedef std::vector< double > Vector;
123 std::vector<double>& getLastEigenValues();
125 bool SymRightEigenproblem( Matrix &_mat_A, Matrix & _mat_VR,
126 std::vector< double > & _vec_EV );
129 std::vector<double> lastEigenValues_;
137 #if defined(INCLUDE_TEMPLATES) && !defined(PCA_C) 138 #define PCA_TEMPLATES 142 #endif // PCA_HH defined VectorT center_of_gravity(const std::vector< VectorT > &_points)
Class for principal component Analysis.
Namespace for principal Component Analysis.
void pca(std::vector< VectorT > &_points, VectorT &_first, VectorT &_second, VectorT &_third)