#include <PCA.hpp>
|
| PCA (int nvar=0) |
|
| PCA (const PCA &m) |
|
PCA & | operator= (const PCA &m) |
|
virtual | ~PCA () |
|
virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
| Interface for AStringable.
|
|
void | init (int nvar) |
|
const VectorDouble & | getEigVals () const |
|
double | getEigVal (int ivar) const |
|
const MatrixDense & | getEigVecs () const |
|
double | getEigVec (int ivar, int jvar) const |
|
VectorDouble | getVarianceRatio () const |
|
const VectorDouble & | getMeans () const |
|
double | getMean (int ivar) const |
|
const MatrixSymmetric & | getC0 () const |
|
int | getNVar () const |
|
const MatrixSquare & | getF2Zs () const |
|
const MatrixSquare & | getZ2Fs () const |
|
const VectorDouble & | getSigmas () const |
|
double | getSigma (int ivar) const |
|
void | setMeans (const VectorDouble &mean) |
|
void | setSigmas (const VectorDouble &sigma) |
|
void | setZ2Fs (const MatrixSquare &z2f) |
|
void | setF2Zs (const MatrixSquare &f2z) |
|
void | setEigVals (VectorDouble &eigval) |
|
void | setEigVal (int ivar, double eigval) |
|
void | setEigVecs (const MatrixDense &eigvec) |
|
void | setEigVec (int ivar, int jvar, double eigvec) |
|
int | pca_compute (const Db *db, bool verbose=false, bool optionPositive=true) |
|
int | maf_compute (Db *db, const VarioParam &varioparam, int ilag0=1, int idir0=0, bool verbose=false) |
|
int | maf_compute_interval (Db *db, double hmin, double hmax, bool verbose=false) |
|
int | dbZ2F (Db *db, bool verbose=false, const NamingConvention &namconv=NamingConvention("F", false)) |
|
int | dbF2Z (Db *db, bool verbose=false, const NamingConvention &namconv=NamingConvention("Z", false)) |
|
VectorDouble | mafOfIndex () const |
|
| AStringable () |
|
| AStringable (const AStringable &r) |
|
AStringable & | operator= (const AStringable &r) |
|
virtual | ~AStringable () |
|
virtual void | display (const AStringFormat *strfmt=nullptr) const final |
|
virtual void | display (int level) const final |
|
◆ PCA() [1/2]
◆ PCA() [2/2]
PCA::PCA |
( |
const PCA & |
m | ) |
|
◆ ~PCA()
◆ dbF2Z()
◆ dbZ2F()
◆ getC0()
◆ getEigVal()
double PCA::getEigVal |
( |
int |
ivar | ) |
const |
|
inline |
◆ getEigVals()
◆ getEigVec()
double PCA::getEigVec |
( |
int |
ivar, |
|
|
int |
jvar |
|
) |
| const |
|
inline |
◆ getEigVecs()
◆ getF2Zs()
◆ getMean()
double PCA::getMean |
( |
int |
ivar | ) |
const |
|
inline |
◆ getMeans()
◆ getNVar()
int PCA::getNVar |
( |
| ) |
const |
|
inline |
◆ getSigma()
double PCA::getSigma |
( |
int |
ivar | ) |
const |
|
inline |
◆ getSigmas()
◆ getVarianceRatio()
◆ getZ2Fs()
◆ init()
void PCA::init |
( |
int |
nvar | ) |
|
◆ maf_compute()
int PCA::maf_compute |
( |
Db * |
db, |
|
|
const VarioParam & |
varioparam, |
|
|
int |
ilag0 = 1 , |
|
|
int |
idir0 = 0 , |
|
|
bool |
verbose = false |
|
) |
| |
Evaluate the MAF
- Returns
- Error return code
- Parameters
-
[in] | db | Db descriptor |
[in] | varioparam | VarioParam structure |
[in] | ilag0 | Reference Lag |
[in] | idir0 | Reference direction |
[in] | verbose | Verbose flag |
◆ maf_compute_interval()
int PCA::maf_compute_interval |
( |
Db * |
db, |
|
|
double |
hmin, |
|
|
double |
hmax, |
|
|
bool |
verbose = false |
|
) |
| |
Evaluate the MAF
- Returns
- Error return code
- Parameters
-
[in] | db | Db descriptor |
[in] | hmin | Lower bound on distance |
[in] | hmax | Upper bound on distance |
[in] | verbose | Verbose flag |
◆ mafOfIndex()
◆ operator=()
PCA & PCA::operator= |
( |
const PCA & |
m | ) |
|
◆ pca_compute()
int PCA::pca_compute |
( |
const Db * |
db, |
|
|
bool |
verbose = false , |
|
|
bool |
optionPositive = true |
|
) |
| |
◆ setEigVal()
void PCA::setEigVal |
( |
int |
ivar, |
|
|
double |
eigval |
|
) |
| |
|
inline |
◆ setEigVals()
◆ setEigVec()
void PCA::setEigVec |
( |
int |
ivar, |
|
|
int |
jvar, |
|
|
double |
eigvec |
|
) |
| |
|
inline |
◆ setEigVecs()
◆ setF2Zs()
◆ setMeans()
◆ setSigmas()
◆ setZ2Fs()
◆ toString()
The documentation for this class was generated from the following files: