1 #ifndef PrincipalComponentAnalysis_h
2 #define PrincipalComponentAnalysis_h
10 #include "tnt/tnt_array2d.h"
11 #include "MultivariateStatistics.h"
12 #include "IException.h"
13 #include "Constants.h"
40 void AddData(
const double *data,
const unsigned int count);
41 void ComputeTransform();
42 TNT::Array2D<double>
Transform(TNT::Array2D<double> data);
43 TNT::Array2D<double> Inverse(TNT::Array2D<double> data);
44 TNT::Array2D<double> TransformMatrix() {
52 void ComputeInverse();
56 TNT::Array2D<double> p_transform, p_inverse;
57 std::vector<Isis::MultivariateStatistics *> p_statistics;