1.4.0
CCC
 
CalcAnamTransform.hpp File Reference
#include "gstlearn_export.hpp"
#include "geoslib_define.h"
#include "Calculators/ACalcDbVarCreator.hpp"
#include "Anamorphosis/AAnam.hpp"
#include "Anamorphosis/AnamHermite.hpp"
#include "Stats/Selectivity.hpp"

Classes

class  CalcAnamTransform
 

Functions

GSTLEARN_EXPORT int DisjunctiveKriging (Db *db, AAnam *anam, Selectivity *selectivity, const VectorString &name_est, const VectorString &name_std, const NamingConvention &namconv=NamingConvention("DK"))
 
GSTLEARN_EXPORT int ConditionalExpectation (Db *db, AAnam *anam, Selectivity *selectivity=nullptr, const String &name_est="", const String &name_std="", bool flag_OK=false, double proba=TEST, int nbsimu=0, const NamingConvention &namconv=NamingConvention("CE"))
 
GSTLEARN_EXPORT int UniformConditioning (Db *db, AAnam *anam, Selectivity *selectivity, const String &name_est, const String &name_varz, const NamingConvention &namconv=NamingConvention("UC"))
 
GSTLEARN_EXPORT int anamPointToBlock (AAnam *anam, int verbose, double cvv, double coeff, double mu)
 

Function Documentation

◆ anamPointToBlock()

GSTLEARN_EXPORT int anamPointToBlock ( AAnam anam,
int  verbose,
double  cvv,
double  coeff,
double  mu 
)

Transform a point anamorphosis into a block anamorphosis

Returns
Error return code
Parameters
[in]anamPoint anamorphosis -> Block anamorphosis [out]
[in]verboseVerbose option
[in]cvvBlock variance
[in]coeffCoefficient of change of support
[in]muAdditional coefficient for Discrete case
Remarks
If 'coeff' is provided, it is used directly ('cvv' is ignored)
Otherwise, it is derived from 'cvv'

◆ ConditionalExpectation()

GSTLEARN_EXPORT int ConditionalExpectation ( Db db,
AAnam anam,
Selectivity selectivity,
const String name_est,
const String name_std,
bool  flag_OK,
double  proba,
int  nbsimu,
const NamingConvention namconv 
)

Calculate the Conditional Expectation

Returns
Error return code
Parameters
[in]dbDb structure containing the factors (Z-locators)
[in]anamPoint anamorphosis
[in]selectivitySelectivity structure
[in]name_estName of the Kriging estimate
[in]name_stdName of the Kriging St. deviation
[in]flag_OK1 if kriging has ben performed in Ordinary Kriging
[in]probaProbability
[in]nbsimuNumber of Simulation outcomes
[in]namconvNaming convention

◆ DisjunctiveKriging()

GSTLEARN_EXPORT int DisjunctiveKriging ( Db db,
AAnam anam,
Selectivity selectivity,
const VectorString name_est,
const VectorString name_std,
const NamingConvention namconv 
)

Calculate the recoveries (z,T,Q,m,B) starting from the factors

Returns
Error return code
Parameters
[in]dbDb structure containing the factors (Z-locators)
[in]anamPoint anamorphosis
[in]selectivitySelectivity structure
[in]name_estArray of variable names for factor estimation
[in]name_stdArray of variable names for factor St. Dev.
[in]namconvNaming convention

◆ UniformConditioning()

GSTLEARN_EXPORT int UniformConditioning ( Db db,
AAnam anam,
Selectivity selectivity,
const String name_est,
const String name_varz,
const NamingConvention namconv 
)

Calculate the Uniform Conditioning

Returns
Error return code
Parameters
[in]dbDb structure containing the factors (Z-locators)
[in]anamPoint anamorphosis
[in]selectivitySelectivity structure
[in]name_estName of the Kriging estimate
[in]name_varzName of the Variance of Kriging estimate
[in]namconvNaming Convention
Remarks
We need the variance of Estimation Error... even if it will be
temporarily stored in a member names iptrStd.