Perform the Algebra for Kriging and CoKriging. More...
#include <KrigingAlgebra.hpp>
Perform the Algebra for Kriging and CoKriging.
It requires the definition of:
Note: When using SK:
Public Member Functions | |
| KrigingAlgebra (bool flagDual=false, const VectorVectorInt *sampleRanks=nullptr, const VectorDouble *Z=nullptr, const MatrixSymmetric *Sigma=nullptr, const MatrixDense *X=nullptr, const MatrixSymmetric *Sigma00=nullptr, const VectorDouble *Means=nullptr) | |
| KrigingAlgebra (const KrigingAlgebra &r)=delete | |
| KrigingAlgebra & | operator= (const KrigingAlgebra &r)=delete |
| virtual | ~KrigingAlgebra () |
| void | setDual (bool status) |
| void | resetNewData () |
| Method to be used when the data has changed (e.g. Moving Neighborhood) | |
| int | setData (const VectorDouble *Z=nullptr, const VectorVectorInt *indices=nullptr, const VectorDouble *Means=nullptr) |
| Modify the Data Values (and Means) | |
| int | setLHS (const MatrixSymmetric *Sigma=nullptr, const MatrixDense *X=nullptr) |
| Modify the elements linked to the LHS. | |
| int | setRHS (const MatrixDense *Sigma0=nullptr, const MatrixDense *X0=nullptr) |
| int | setVariance (const MatrixSymmetric *Sigma00=nullptr) |
| int | setBayes (const VectorDouble *PriorMean=nullptr, const MatrixSymmetric *PriorCov=nullptr) |
| int | setXvalidUnique (const VectorInt *rankXvalidEqs=nullptr, const VectorInt *rankXvalidVars=nullptr) |
| Define the elements of the input Db to be cross-validated. | |
| int | setColCokUnique (const VectorDouble *Zp=nullptr, const VectorInt *rankColCok=nullptr) |
| Define the inforlation for Collocated Option. | |
| void | printStatus () const |
| void | dumpLHS (int nbypas=5) const |
| void | dumpRHS () const |
| void | dumpWGT () |
| void | dumpAux () |
| VectorDouble | getEstimation () |
| VectorDouble | getStdv () |
| VectorDouble | getVarianceZstar () |
| VectorDouble | getPostMean () |
| const MatrixSymmetric * | getStdvMat () |
| const MatrixSymmetric * | getVarianceZstarMat () |
| const MatrixSymmetric * | getPostCov () |
| const MatrixDense * | getLambda () |
| const MatrixDense * | getLambda0 () |
| const MatrixDense * | getMu () |
| double | getLTerm () |
| bool | isDual () const |
| KrigingAlgebra::KrigingAlgebra | ( | bool | flagDual = false, |
| const VectorVectorInt * | sampleRanks = nullptr, |
||
| const VectorDouble * | Z = nullptr, |
||
| const MatrixSymmetric * | Sigma = nullptr, |
||
| const MatrixDense * | X = nullptr, |
||
| const MatrixSymmetric * | Sigma00 = nullptr, |
||
| const VectorDouble * | Means = nullptr |
||
| ) |
|
delete |
|
virtual |
| void KrigingAlgebra::dumpAux | ( | ) |
| void KrigingAlgebra::dumpLHS | ( | int | nbypas = 5 | ) | const |
| void KrigingAlgebra::dumpRHS | ( | ) | const |
| void KrigingAlgebra::dumpWGT | ( | ) |
| VectorDouble KrigingAlgebra::getEstimation | ( | ) |
| const MatrixDense * KrigingAlgebra::getLambda | ( | ) |
| const MatrixDense * KrigingAlgebra::getLambda0 | ( | ) |
| double KrigingAlgebra::getLTerm | ( | ) |
| const MatrixDense * KrigingAlgebra::getMu | ( | ) |
| const MatrixSymmetric * KrigingAlgebra::getPostCov | ( | ) |
| VectorDouble KrigingAlgebra::getPostMean | ( | ) |
| VectorDouble KrigingAlgebra::getStdv | ( | ) |
| const MatrixSymmetric * KrigingAlgebra::getStdvMat | ( | ) |
| VectorDouble KrigingAlgebra::getVarianceZstar | ( | ) |
| const MatrixSymmetric * KrigingAlgebra::getVarianceZstarMat | ( | ) |
|
inline |
|
delete |
| void KrigingAlgebra::printStatus | ( | ) | const |
| void KrigingAlgebra::resetNewData | ( | ) |
Method to be used when the data has changed (e.g. Moving Neighborhood)
| int KrigingAlgebra::setBayes | ( | const VectorDouble * | PriorMean = nullptr, |
| const MatrixSymmetric * | PriorCov = nullptr |
||
| ) |
| int KrigingAlgebra::setColCokUnique | ( | const VectorDouble * | Zp = nullptr, |
| const VectorInt * | rankColCok = nullptr |
||
| ) |
Define the inforlation for Collocated Option.
| Zp | Vector of the Collocated variables (see note) |
| rankColCok | Vector of ranks of Collocated variables (dim: _nvar) |
| int KrigingAlgebra::setData | ( | const VectorDouble * | Z = nullptr, |
| const VectorVectorInt * | indices = nullptr, |
||
| const VectorDouble * | Means = nullptr |
||
| ) |
Modify the Data Values (and Means)
| Z | Data flattened vector (possibly multivariate) |
| indices | Vector Of Vector of sample ranks |
| Means | Vector of known Drift coefficients (optional) |
| void KrigingAlgebra::setDual | ( | bool | status | ) |
| int KrigingAlgebra::setLHS | ( | const MatrixSymmetric * | Sigma = nullptr, |
| const MatrixDense * | X = nullptr |
||
| ) |
Modify the elements linked to the LHS.
| Sigma | Data-Data Covariance matrix |
| X | Data Drift Matrix |
| int KrigingAlgebra::setRHS | ( | const MatrixDense * | Sigma0 = nullptr, |
| const MatrixDense * | X0 = nullptr |
||
| ) |
| int KrigingAlgebra::setVariance | ( | const MatrixSymmetric * | Sigma00 = nullptr | ) |
| int KrigingAlgebra::setXvalidUnique | ( | const VectorInt * | rankXvalidEqs = nullptr, |
| const VectorInt * | rankXvalidVars = nullptr |
||
| ) |
Define the elements of the input Db to be cross-validated.
| rankXvalidEqs | Vector of equation ranks to be cross-validated |
| rankXvalidVars | Vector of variable ranks to be cross-validated |