Loading [MathJax]/extensions/tex2jax.js
1.7.3
Geostatistics & Machine Learning toolbox | https://gstlearn.org
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
KrigingSystemSimpleCase Class Reference

#include <KrigingSystemSimpleCase.hpp>

Public Member Functions

 KrigingSystemSimpleCase (Db *dbin, Db *dbout, const ModelGeneric *model, ANeigh *neigh)
 
 KrigingSystemSimpleCase (const KrigingSystemSimpleCase &m)=delete
 
KrigingSystemSimpleCaseoperator= (const KrigingSystemSimpleCase &m)=delete
 
virtual ~KrigingSystemSimpleCase ()
 
int setKrigOptCalcul (const EKrigOpt &calcul)
 
int setKrigOptDataWeights (int iptrWeights, bool flagSet=true)
 
int setKrigOptFlagGlobal (bool flag_global)
 
int setKrigOptFlagLTerm (bool flag_lterm)
 
int updKrigOptEstim (int iptrEst, int iptrStd, int iptrVarZ, bool forceNoDual=false)
 
bool isReady ()
 
void updateLHS (KrigingAlgebraSimpleCase &algebra, ModelGeneric &model)
 
int estimate (int iechout, SpacePoint &pin, SpacePoint &pout, VectorDouble &tabwork, KrigingAlgebraSimpleCase &algebra, ModelGeneric &model, ANeigh *neigh=nullptr)
 
void conclusion ()
 
KrigingAlgebraSimpleCasegetAlgebra ()
 
int getNDim () const
 
int getNVar () const
 
VectorVectorDouble getSampleCoordinates (KrigingAlgebraSimpleCase &algebra, int iechout) const
 
double getLTerm () const
 
ModelGenericgetModel () const
 

Static Public Member Functions

static MatrixDense getWeights (KrigingAlgebraSimpleCase &algebra)
 
static MatrixDense getMu (KrigingAlgebraSimpleCase &algebra)
 

Constructor & Destructor Documentation

◆ KrigingSystemSimpleCase() [1/2]

KrigingSystemSimpleCase::KrigingSystemSimpleCase ( Db dbin,
Db dbout,
const ModelGeneric model,
ANeigh neigh 
)

◆ KrigingSystemSimpleCase() [2/2]

KrigingSystemSimpleCase::KrigingSystemSimpleCase ( const KrigingSystemSimpleCase m)
delete

◆ ~KrigingSystemSimpleCase()

KrigingSystemSimpleCase::~KrigingSystemSimpleCase ( )
virtual

Member Function Documentation

◆ conclusion()

void KrigingSystemSimpleCase::conclusion ( )

This method closes the use of a KrigingSystemSimpleCase sequence

◆ estimate()

int KrigingSystemSimpleCase::estimate ( int  iechout,
SpacePoint pin,
SpacePoint pout,
VectorDouble tabwork,
KrigingAlgebraSimpleCase algebra,
ModelGeneric model,
ANeigh neigh = nullptr 
)

◆ getAlgebra()

KrigingAlgebraSimpleCase & KrigingSystemSimpleCase::getAlgebra ( )
inline

◆ getLTerm()

double KrigingSystemSimpleCase::getLTerm ( ) const
inline

◆ getModel()

ModelGeneric * KrigingSystemSimpleCase::getModel ( ) const
inline

◆ getMu()

MatrixDense KrigingSystemSimpleCase::getMu ( KrigingAlgebraSimpleCase algebra)
static

◆ getNDim()

int KrigingSystemSimpleCase::getNDim ( ) const
inline

◆ getNVar()

int KrigingSystemSimpleCase::getNVar ( ) const
inline

◆ getSampleCoordinates()

VectorVectorDouble KrigingSystemSimpleCase::getSampleCoordinates ( KrigingAlgebraSimpleCase algebra,
int  iechout 
) const

Returns the coordinates of the neighboring samples

Returns
Array organized by Coordinate (minor) then by Sample (major)

◆ getWeights()

MatrixDense KrigingSystemSimpleCase::getWeights ( KrigingAlgebraSimpleCase algebra)
static

◆ isReady()

bool KrigingSystemSimpleCase::isReady ( )

Performs the last operations before launching the loop on Estimations

Returns

◆ operator=()

KrigingSystemSimpleCase & KrigingSystemSimpleCase::operator= ( const KrigingSystemSimpleCase m)
delete

◆ setKrigOptCalcul()

int KrigingSystemSimpleCase::setKrigOptCalcul ( const EKrigOpt &  calcul)

◆ setKrigOptDataWeights()

int KrigingSystemSimpleCase::setKrigOptDataWeights ( int  iptrWeights,
bool  flagSet = true 
)

◆ setKrigOptFlagGlobal()

int KrigingSystemSimpleCase::setKrigOptFlagGlobal ( bool  flag_global)

◆ setKrigOptFlagLTerm()

int KrigingSystemSimpleCase::setKrigOptFlagLTerm ( bool  flag_lterm)

Ask for the specific calculation of Z * A-1 * Z

Parameters
flag_ltermFlag for asking this specific calculation
Returns
Remarks
The calculated value can be retrieved using _getLTerm() method

◆ updateLHS()

void KrigingSystemSimpleCase::updateLHS ( KrigingAlgebraSimpleCase algebra,
ModelGeneric model 
)

◆ updKrigOptEstim()

int KrigingSystemSimpleCase::updKrigOptEstim ( int  iptrEst,
int  iptrStd,
int  iptrVarZ,
bool  forceNoDual = false 
)

Set the calculation options

Parameters
iptrEstUID for storing the estimation(s)
iptrStdUID for storing the Standard deviations(s)
iptrVarZUID for storing the Variance(s) of estimator
forceNoDualForce that the algebra is not using the Dual option
Returns
Error returned code
Remarks
If a term must not be calculated, its UID must be negative

The documentation for this class was generated from the following files: