41 #ifndef BPP_NUMERIC_STAT_MVA_DUALITYDIAGRAM_H
42 #define BPP_NUMERIC_STAT_MVA_DUALITYDIAGRAM_H
45 #include "../../Matrix/Matrix.h"
101 const std::vector<double>& rowWeights,
102 const std::vector<double>& colWeights,
104 double tol = 0.0000001,
105 bool verbose =
true);
114 const std::vector<double>& rowWeights,
115 const std::vector<double>& colWeights,
116 unsigned int nbAxes);
133 const std::vector<double>& rowWeights,
134 const std::vector<double>& colWeights,
136 double tol = 0.0000001,
137 bool verbose =
true);
The Clonable interface (allow an object to be cloned).
The core class of a multivariate analysis.
const RowMatrix< double > & getPrincipalAxes() const
std::vector< double > colWeights_
RowMatrix< double > ppalComponents_
const RowMatrix< double > & getPrincipalComponents() const
std::vector< double > eigenValues_
virtual ~DualityDiagram()
const std::vector< double > & getEigenValues() const
RowMatrix< double > ppalAxes_
DualityDiagram * clone() const
Create a copy of this object and send a pointer to it.
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.
void compute_(const Matrix< double > &matrix, double tol, bool verbose)
void check_(const Matrix< double > &matrix, const std::vector< double > &rowWeights, const std::vector< double > &colWeights, unsigned int nbAxes)
RowMatrix< double > eigenVectors_
const RowMatrix< double > & getColCoordinates() const
std::vector< double > rowWeights_
std::vector< double > computeVariancePercentagePerAxis()
const RowMatrix< double > & getRowCoordinates() const
const std::vector< double > getColumnWeights() const
size_t getNbOfKeptAxes() const
const std::vector< double > getRowWeights() const
RowMatrix< double > colCoord_
RowMatrix< double > rowCoord_
DualityDiagram()
Build an empty DualityDiagram object.
The matrix template interface.