5 #ifndef BPP_NUMERIC_STAT_MVA_DUALITYDIAGRAM_H 6 #define BPP_NUMERIC_STAT_MVA_DUALITYDIAGRAM_H 9 #include "../../Matrix/Matrix.h" 65 const std::vector<double>& rowWeights,
66 const std::vector<double>& colWeights,
68 double tol = 0.0000001,
78 const std::vector<double>& rowWeights,
79 const std::vector<double>& colWeights,
97 const std::vector<double>& rowWeights,
98 const std::vector<double>& colWeights,
100 double tol = 0.0000001,
101 bool verbose =
true);
115 #endif // BPP_NUMERIC_STAT_MVA_DUALITYDIAGRAM_H The matrix template interface.
void setData(const Matrix< double > &matrix, const std::vector< double > &rowWeights, const std::vector< double > &colWeights, unsigned int nbAxes, double tol=0.0000001, bool verbose=true)
Set the data and perform computations.
RowMatrix< double > eigenVectors_
const RowMatrix< double > & getColCoordinates() const
RowMatrix< double > colCoord_
virtual ~DualityDiagram()
std::vector< double > colWeights_
RowMatrix< double > rowCoord_
const RowMatrix< double > & getRowCoordinates() const
RowMatrix< double > ppalAxes_
std::vector< double > computeVariancePercentagePerAxis()
std::vector< double > eigenValues_
const std::vector< double > getColumnWeights() const
void check_(const Matrix< double > &matrix, const std::vector< double > &rowWeights, const std::vector< double > &colWeights, unsigned int nbAxes)
const std::vector< double > & getEigenValues() const
const std::vector< double > getRowWeights() const
std::vector< double > rowWeights_
The Clonable interface (allow an object to be cloned).
size_t getNbOfKeptAxes() const
RowMatrix< double > ppalComponents_
const RowMatrix< double > & getPrincipalComponents() const
DualityDiagram()
Build an empty DualityDiagram object.
void compute_(const Matrix< double > &matrix, double tol, bool verbose)
const RowMatrix< double > & getPrincipalAxes() const
The core class of a multivariate analysis.
DualityDiagram * clone() const
Create a copy of this object and send a pointer to it.