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
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.
Class for principal component Analysis.