82 template <
typename VectorT >
85 typedef gmm::dense_matrix<double> Matrix;
86 typedef std::vector< double > Vector;
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) 132 #define PCA_TEMPLATES 133 #include "PCAT_impl.hh" 136 #endif // PCA_HH defined Class for principal component Analysis.
VectorT center_of_gravity(const std::vector< VectorT > &_points)
Namespace for principal Component Analysis.
void pca(std::vector< VectorT > &_points, VectorT &_first, VectorT &_second, VectorT &_third)