41 #ifndef _DUALITYDIAGRAM_H_ 42 #define _DUALITYDIAGRAM_H_ 44 #include "../../Matrix/Matrix.h" 101 const std::vector<double>& rowWeights,
102 const std::vector<double>& colWeights,
104 double tol = 0.0000001,
109 #ifndef NO_VIRTUAL_COV 119 const std::vector<double>& rowWeights,
120 const std::vector<double>& colWeights,
138 const std::vector<double>& rowWeights,
139 const std::vector<double>& colWeights,
141 double tol = 0.0000001,
158 #endif // _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_
This class allows to perform a correspondence analysis.
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.