![]() |
1.7.3
Geostatistics & Machine Learning toolbox | https://gstlearn.org
|
![]() |
Perform the Algebra for Kriging and CoKriging. More...
#include <KrigingAlgebraSimpleCase.hpp>
Perform the Algebra for Kriging and CoKriging.
It requires the definition of:
Note: When using SK:
Public Member Functions | |
KrigingAlgebraSimpleCase (bool flagDual=false, const VectorVectorInt *sampleRanks=nullptr, const VectorDouble *Z=nullptr, const VectorDouble &Means=VectorDouble(), int flagchol=false, bool neighUnique=OptCustom::query("unique", 1)) | |
KrigingAlgebraSimpleCase (KrigingAlgebraSimpleCase &r) | |
KrigingAlgebraSimpleCase & | operator= (const KrigingAlgebraSimpleCase &r)=delete |
virtual | ~KrigingAlgebraSimpleCase () |
int | prepare () |
void | setDual (bool status) |
void | setNeighUnique (bool nu=false) |
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=VectorDouble()) |
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 (MatrixDense *Sigma0=nullptr, MatrixDense *X0=nullptr) |
int | setVariance (const MatrixSymmetric *Sigma00=nullptr) |
void | printStatus () const |
void | dumpLHS (int nbypas=5) const |
void | dumpRHS () const |
void | dumpWGT () |
void | dumpAux () |
VectorDouble & | getEstimation () |
VectorDouble | getStdv () |
double | getVarianceZstar (int i) |
VectorDouble | getVarianceZstar () |
const MatrixSymmetric * | getStdvMat () |
const MatrixSymmetric * | getVarianceZstarMat () |
const MatrixDense * | getLambda () |
const MatrixDense * | getLambda0 () |
const MatrixDense * | getMu () |
double | getLTerm () |
int | updateRHS () |
bool | isDual () const |
VectorDouble * | getZ () |
MatrixSymmetric * | getSigma () |
MatrixSymmetric * | getSigma00 () |
MatrixDense * | getX () |
MatrixDense * | getSigma0 () |
void | updateSampleRanks () |
MatrixDense * | getX0 () |
VectorVectorInt * | getSampleRanks () |
VectorInt * | getNbgh () |
void | setMeans (const VectorDouble &means) |
KrigingAlgebraSimpleCase::KrigingAlgebraSimpleCase | ( | bool | flagDual = false , |
const VectorVectorInt * | sampleRanks = nullptr , |
||
const VectorDouble * | Z = nullptr , |
||
const VectorDouble & | Means = VectorDouble() , |
||
int | flagchol = false , |
||
bool | neighUnique = OptCustom::query("unique", 1) |
||
) |
KrigingAlgebraSimpleCase::KrigingAlgebraSimpleCase | ( | KrigingAlgebraSimpleCase & | r | ) |
|
virtual |
void KrigingAlgebraSimpleCase::dumpAux | ( | ) |
void KrigingAlgebraSimpleCase::dumpLHS | ( | int | nbypas = 5 | ) | const |
void KrigingAlgebraSimpleCase::dumpRHS | ( | ) | const |
void KrigingAlgebraSimpleCase::dumpWGT | ( | ) |
VectorDouble & KrigingAlgebraSimpleCase::getEstimation | ( | ) |
const MatrixDense * KrigingAlgebraSimpleCase::getLambda | ( | ) |
const MatrixDense * KrigingAlgebraSimpleCase::getLambda0 | ( | ) |
double KrigingAlgebraSimpleCase::getLTerm | ( | ) |
const MatrixDense * KrigingAlgebraSimpleCase::getMu | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
VectorDouble KrigingAlgebraSimpleCase::getStdv | ( | ) |
const MatrixSymmetric * KrigingAlgebraSimpleCase::getStdvMat | ( | ) |
VectorDouble KrigingAlgebraSimpleCase::getVarianceZstar | ( | ) |
double KrigingAlgebraSimpleCase::getVarianceZstar | ( | int | i | ) |
const MatrixSymmetric * KrigingAlgebraSimpleCase::getVarianceZstarMat | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
int KrigingAlgebraSimpleCase::prepare | ( | ) |
void KrigingAlgebraSimpleCase::printStatus | ( | ) | const |
void KrigingAlgebraSimpleCase::resetNewData | ( | ) |
Method to be used when the data has changed (e.g. Moving Neighborhood)
int KrigingAlgebraSimpleCase::setData | ( | const VectorDouble * | Z = nullptr , |
const VectorVectorInt * | indices = nullptr , |
||
const VectorDouble & | Means = VectorDouble() |
||
) |
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 KrigingAlgebraSimpleCase::setDual | ( | bool | status | ) |
int KrigingAlgebraSimpleCase::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 |
void KrigingAlgebraSimpleCase::setMeans | ( | const VectorDouble & | means | ) |
|
inline |
int KrigingAlgebraSimpleCase::setRHS | ( | MatrixDense * | Sigma0 = nullptr , |
MatrixDense * | X0 = nullptr |
||
) |
int KrigingAlgebraSimpleCase::setVariance | ( | const MatrixSymmetric * | Sigma00 = nullptr | ) |
int KrigingAlgebraSimpleCase::updateRHS | ( | ) |
void KrigingAlgebraSimpleCase::updateSampleRanks | ( | ) |