1.3.1
CCC
 
anam.cpp File Reference
#include "geoslib_enum.h"
#include "geoslib_old_f.h"
#include "Anamorphosis/AnamDiscrete.hpp"
#include "Anamorphosis/AnamDiscreteDD.hpp"
#include "Anamorphosis/AnamDiscreteIR.hpp"
#include "Anamorphosis/AnamEmpirical.hpp"
#include "Anamorphosis/AnamHermite.hpp"
#include "Anamorphosis/AnamUser.hpp"
#include "Variogram/Vario.hpp"
#include "Polynomials/Hermite.hpp"
#include "Polynomials/MonteCarlo.hpp"
#include "Basic/Utilities.hpp"
#include "Basic/Law.hpp"
#include "Db/Db.hpp"
#include "Stats/Selectivity.hpp"
#include <math.h>

Functions

int anam_point_to_block (AAnam *anam, int verbose, double cvv, double coeff, double mu)
 
int _conditionalExpectation (Db *db, AAnam *anam, const Selectivity *selectivity, int iptr0, int col_est, int col_std, bool flag_OK, double proba, int nbsimu)
 
int _uniformConditioning (Db *db, AnamHermite *anam, Selectivity *selectivity, int iptr0, int col_est, int col_var)
 

Function Documentation

◆ _conditionalExpectation()

int _conditionalExpectation ( Db db,
AAnam anam,
const Selectivity selectivity,
int  iptr0,
int  col_est,
int  col_std,
bool  flag_OK,
double  proba,
int  nbsimu 
)

Calculate the Conditional Expectation

Returns
Error return code
Parameters
[in]dbDb structure containing the factors (Z-locators)
[in]anamAnamorphosis structure
[in]selectivitySelectivity structure
[in]iptr0Rank of the pointer for storage
[in]col_estRank of variable containing Kriging estimate
[in]col_stdRank of Variable containing Kriging St. deviation
[in]flag_OK1 if kriging has ben performed in Ordinary Kriging
[in]probaProbability
[in]nbsimuNumber of Simulation outcomes

◆ _uniformConditioning()

int _uniformConditioning ( Db db,
AnamHermite anam,
Selectivity selectivity,
int  iptr0,
int  col_est,
int  col_var 
)

Calculate the Uniform Conditioning

Returns
Error return code
Parameters
[in]dbDb structure containing the factors (Z-locators)
[in]anamBlock Hermite anamorphosis
[in]selectivitySelectivity structure
[in]iptr0Pointer for storage
[in]col_estRank of variable containing Kriging estimate
[in]col_varRank of Variable containing Variance of Kriging estimate

◆ anam_point_to_block()

int anam_point_to_block ( 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'