gstlearn  1.0.0
CCC
CalcAnamTransform.cpp File Reference
#include "geoslib_f_private.h"
#include "geoslib_old_f.h"
#include "Db/DbGrid.hpp"
#include "Db/Db.hpp"
#include "Basic/Law.hpp"
#include "Basic/VectorHelper.hpp"
#include "Matrix/Table.hpp"
#include "Anamorphosis/CalcAnamTransform.hpp"
#include "Anamorphosis/AnamContinuous.hpp"
#include "Anamorphosis/AnamHermite.hpp"
#include "Anamorphosis/AnamDiscreteIR.hpp"
#include "Anamorphosis/AnamDiscreteDD.hpp"
#include <math.h>

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)
 

Function Documentation

◆ 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.