1.5.1
CCC
 
CalcAnamTransform.cpp File Reference

Functions

int DisjunctiveKriging (Db *db, AAnam *anam, Selectivity *selectivity, const VectorString &name_est, const VectorString &name_std, const NamingConvention &namconv)
 
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)
 
int UniformConditioning (Db *db, AAnam *anam, Selectivity *selectivity, const String &name_est, const String &name_varz, const NamingConvention &namconv)
 
int anamPointToBlock (AAnam *anam, int verbose, double cvv, double coeff, double mu)
 

Function Documentation

◆ anamPointToBlock()

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()

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()

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()

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.