Perform the Algebra for Kriging and CoKriging. More...
#include <KrigingCalcul.hpp>
Perform the Algebra for Kriging and CoKriging.
It requires the definition of:
Note: When using SK:
Public Member Functions | |
| KrigingCalcul (bool flagDual=false, const VectorDouble *Z=nullptr, const MatrixSquareSymmetric *Sigma=nullptr, const MatrixRectangular *X=nullptr, const MatrixSquareSymmetric *Sigma00=nullptr, const VectorDouble *Means=nullptr) | |
| KrigingCalcul (const KrigingCalcul &r)=delete | |
| KrigingCalcul & | operator= (const KrigingCalcul &r)=delete |
| virtual | ~KrigingCalcul () |
| int | setData (const VectorDouble *Z=nullptr, const VectorDouble *Means=nullptr) |
| Modify the Data Values (and Means) | |
| int | setLHS (const MatrixSquareSymmetric *Sigma=nullptr, const MatrixRectangular *X=nullptr) |
| Modify the elements linked to the LHS. | |
| int | setRHS (const MatrixRectangular *Sigma0=nullptr, const MatrixRectangular *X0=nullptr) |
| int | setVar (const MatrixSquareSymmetric *Sigma00=nullptr) |
| int | setColCokUnique (const VectorDouble *Zp=nullptr, const VectorInt *rankColCok=nullptr) |
| Define the inforlation for Collocated Option. | |
| int | setBayes (const VectorDouble *PriorMean=nullptr, const MatrixSquareSymmetric *PriorCov=nullptr) |
| int | setXvalidUnique (const VectorInt *rankXvalidEqs=nullptr, const VectorInt *rankXvalidVars=nullptr) |
| Define the elements of the input Db to be cross-validated. | |
| void | printStatus () const |
| VectorDouble | getEstimation () |
| VectorDouble | getStdv () |
| VectorDouble | getVarianceZstar () |
| VectorDouble | getPostMean () |
| const MatrixSquareSymmetric * | getStdvMat () |
| const MatrixSquareSymmetric * | getVarianceZstarMat () |
| const MatrixSquareSymmetric * | getPostCov () |
| const MatrixRectangular * | getLambda () |
| const MatrixRectangular * | getLambda0 () |
| const MatrixRectangular * | getMu () |
| const MatrixRectangular * | getX0 () |
| const MatrixRectangular * | getX0p () |
| const MatrixRectangular * | getY0 () |
| const MatrixRectangular * | getY0p () |
| const MatrixRectangular * | getSigma0 () |
| const MatrixRectangular * | getSigma0p () |
| void | resetLinkedToZ () |
| void | resetLinkedToLHS () |
| void | resetLinkedToRHS () |
| void | resetLinkedtoVar0 () |
| void | resetLinkedToBayes () |
| void | resetLinkedToColCok () |
| void | resetLinkedToXvalid () |
| KrigingCalcul::KrigingCalcul | ( | bool | flagDual = false, |
| const VectorDouble * | Z = nullptr, |
||
| const MatrixSquareSymmetric * | Sigma = nullptr, |
||
| const MatrixRectangular * | X = nullptr, |
||
| const MatrixSquareSymmetric * | Sigma00 = nullptr, |
||
| const VectorDouble * | Means = nullptr |
||
| ) |
|
delete |
|
virtual |
| VectorDouble KrigingCalcul::getEstimation | ( | ) |
| const MatrixRectangular * KrigingCalcul::getLambda | ( | ) |
| const MatrixRectangular * KrigingCalcul::getLambda0 | ( | ) |
| const MatrixRectangular * KrigingCalcul::getMu | ( | ) |
| const MatrixSquareSymmetric * KrigingCalcul::getPostCov | ( | ) |
| VectorDouble KrigingCalcul::getPostMean | ( | ) |
| const MatrixRectangular * KrigingCalcul::getSigma0 | ( | ) |
| const MatrixRectangular * KrigingCalcul::getSigma0p | ( | ) |
| VectorDouble KrigingCalcul::getStdv | ( | ) |
| const MatrixSquareSymmetric * KrigingCalcul::getStdvMat | ( | ) |
| VectorDouble KrigingCalcul::getVarianceZstar | ( | ) |
| const MatrixSquareSymmetric * KrigingCalcul::getVarianceZstarMat | ( | ) |
| const MatrixRectangular * KrigingCalcul::getX0 | ( | ) |
| const MatrixRectangular * KrigingCalcul::getX0p | ( | ) |
| const MatrixRectangular * KrigingCalcul::getY0 | ( | ) |
| const MatrixRectangular * KrigingCalcul::getY0p | ( | ) |
|
delete |
| void KrigingCalcul::printStatus | ( | ) | const |
| void KrigingCalcul::resetLinkedToBayes | ( | ) |
| void KrigingCalcul::resetLinkedToColCok | ( | ) |
| void KrigingCalcul::resetLinkedToLHS | ( | ) |
| void KrigingCalcul::resetLinkedToRHS | ( | ) |
| void KrigingCalcul::resetLinkedtoVar0 | ( | ) |
| void KrigingCalcul::resetLinkedToXvalid | ( | ) |
| void KrigingCalcul::resetLinkedToZ | ( | ) |
| int KrigingCalcul::setBayes | ( | const VectorDouble * | PriorMean = nullptr, |
| const MatrixSquareSymmetric * | PriorCov = nullptr |
||
| ) |
| int KrigingCalcul::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 |
| int KrigingCalcul::setData | ( | const VectorDouble * | Z = nullptr, |
| const VectorDouble * | Means = nullptr |
||
| ) |
Modify the Data Values (and Means)
| Z | Data flattened vector (possibly multivariate) |
| Means | Vector of known Drift coefficients (optional) |
| int KrigingCalcul::setLHS | ( | const MatrixSquareSymmetric * | Sigma = nullptr, |
| const MatrixRectangular * | X = nullptr |
||
| ) |
Modify the elements linked to the LHS.
| Sigma | Data-Data Covariance matrix |
| X | Data Drift Matrix |
| int KrigingCalcul::setRHS | ( | const MatrixRectangular * | Sigma0 = nullptr, |
| const MatrixRectangular * | X0 = nullptr |
||
| ) |
| int KrigingCalcul::setVar | ( | const MatrixSquareSymmetric * | Sigma00 = nullptr | ) |
| int KrigingCalcul::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 |