#include "Basic/VectorNumT.hpp"
#include "geoslib_define.h"
#include "Enum/ESPDECalcMode.hpp"
#include "Basic/NamingConvention.hpp"
#include "API/SPDEParam.hpp"
#include "LinearOp/PrecisionOpCs.hpp"
#include "LinearOp/PrecisionOpMultiConditional.hpp"
#include <vector>
Classes | |
class | SPDE |
Functions | |
GSTLEARN_EXPORT int | krigingSPDE (Db *dbin, Db *dbout, Model *model, bool flag_est=true, bool flag_std=false, const AMesh *mesh=nullptr, int useCholesky=-1, const SPDEParam ¶ms=SPDEParam(), int nbMC=10, bool verbose=false, bool showStats=false, const NamingConvention &namconv=NamingConvention("KrigingSPDE")) |
GSTLEARN_EXPORT int | simulateSPDE (Db *dbin, Db *dbout, Model *model, int nbsimu=1, const AMesh *mesh=nullptr, int useCholesky=-1, const SPDEParam ¶ms=SPDEParam(), bool verbose=false, bool showStats=false, const NamingConvention &namconv=NamingConvention("SimuSPDE")) |
GSTLEARN_EXPORT double | logLikelihoodSPDE (Db *dbin, Db *dbout, Model *model, const AMesh *mesh=nullptr, int useCholesky=-1, int nbsimu=1, const SPDEParam ¶ms=SPDEParam(), bool verbose=false) |
GSTLEARN_EXPORT MatrixSparse * | buildInvNugget (Db *dbin, Model *model, const SPDEParam ¶ms=SPDEParam()) |
GSTLEARN_EXPORT VectorDouble | krigingSPDENew (Db *dbin, Db *dbout, Model *model, const VectorMeshes &meshes=VectorMeshes(), int useCholesky=-1, bool verbose=false, const NamingConvention &namconv=NamingConvention("KrigingSPDE")) |
GSTLEARN_EXPORT MatrixSparse* buildInvNugget | ( | Db * | db, |
Model * | model, | ||
const SPDEParam & | params | ||
) |
Build the inverse of the Nugget Effect matrix It is established for:
GSTLEARN_EXPORT int krigingSPDE | ( | Db * | dbin, |
Db * | dbout, | ||
Model * | model, | ||
bool | flag_est, | ||
bool | flag_std, | ||
const AMesh * | mesh, | ||
int | useCholesky, | ||
const SPDEParam & | params, | ||
int | nbMC, | ||
bool | verbose, | ||
bool | showStats, | ||
const NamingConvention & | namconv | ||
) |
Perform the estimation by KRIGING under the SPDE framework
dbin | Input Db (must contain the variable to be estimated) |
dbout | Output Db where the estimation must be performed |
model | Model definition |
flag_est | True for the estimation |
flag_std | True for the standard deviation of estimation error |
mesh | Mesh description (optional) |
useCholesky | Define the choice regarding Cholesky |
params | Set of parameters |
nbMC | Number of Monte-Carlo simulations used for variance calculation |
verbose | Verbose flag |
showStats | Show statistics for Linear Operations |
namconv | Naming convention |
GSTLEARN_EXPORT VectorDouble krigingSPDENew | ( | Db * | dbin, |
Db * | dbout, | ||
Model * | model, | ||
const VectorMeshes & | meshes, | ||
int | useCholesky, | ||
bool | verbose, | ||
const NamingConvention & | namconv | ||
) |
Perform the estimation by KRIGING under the SPDE framework
dbin | Input Db (must contain the variable to be estimated) |
dbout | Output Db where the estimation must be performed |
model | Model definition |
meshes | Meshes description (optional) |
useCholesky | Define the choice regarding Cholesky |
verbose | Verbose flag |
namconv | Naming convention |
GSTLEARN_EXPORT double logLikelihoodSPDE | ( | Db * | dbin, |
Db * | dbout, | ||
Model * | model, | ||
const AMesh * | mesh = nullptr , |
||
int | useCholesky = -1 , |
||
int | nbsimu = 1 , |
||
const SPDEParam & | params = SPDEParam() , |
||
bool | verbose = false |
||
) |
GSTLEARN_EXPORT int simulateSPDE | ( | Db * | dbin, |
Db * | dbout, | ||
Model * | model, | ||
int | nbsimu, | ||
const AMesh * | mesh, | ||
int | useCholesky, | ||
const SPDEParam & | params, | ||
bool | verbose, | ||
bool | showStats, | ||
const NamingConvention & | namconv | ||
) |
Perform simulations under the SPDE framework
dbin | Input Db. If defined, the simulations are conditional; non conditional otherwise |
dbout | Output Db where the simulations must be performed |
model | Model definition |
nbsimu | Number of simulations |
mesh | Mesh description (optional) |
useCholesky | Define the choice regarding Cholesky |
params | Set of parametes |
verbose | Verbose flag |
showStats | Show statistics for Linear Operations |
namconv | Naming convention |