#include "geoslib_old_f.h"
#include "geoslib_f_private.h"
#include "Simulation/ACalcSimulation.hpp"
#include "Simulation/TurningDirection.hpp"
#include "Simulation/CalcSimuTurningBands.hpp"
#include "Model/Model.hpp"
#include "Anamorphosis/AAnam.hpp"
#include "Anamorphosis/AnamHermite.hpp"
#include "Covariances/CovAniso.hpp"
#include "Geometry/GeometryHelper.hpp"
#include "Matrix/AMatrix.hpp"
#include "Basic/Law.hpp"
#include "Basic/MathFunc.hpp"
#include "Basic/OptDbg.hpp"
#include "Db/Db.hpp"
#include "Db/DbGrid.hpp"
#include <math.h>
Functions | |
bool | isCovValidForTurningBands (const ECov &type) |
TODO : To be moved in ACovFunc. More... | |
int | simtub (Db *dbin, Db *dbout, Model *model, ANeigh *neigh, int nbsimu, int seed, int nbtuba, bool flag_dgm, bool flag_check, const NamingConvention &namconv) |
int | simbayes (Db *dbin, Db *dbout, Model *model, ANeigh *neigh, int nbsimu, int seed, const VectorDouble &dmean, const MatrixSquareSymmetric &dcov, int nbtuba, bool flag_check, const NamingConvention &namconv) |
bool isCovValidForTurningBands | ( | const ECov & | type | ) |
TODO : To be moved in ACovFunc.
int simbayes | ( | Db * | dbin, |
Db * | dbout, | ||
Model * | model, | ||
ANeigh * | neigh, | ||
int | nbsimu, | ||
int | seed, | ||
const VectorDouble & | dmean, | ||
const MatrixSquareSymmetric & | dcov, | ||
int | nbtuba, | ||
bool | flag_check, | ||
const NamingConvention & | namconv | ||
) |
Perform the conditional or non-conditional simulation with Bayesian Drift
[in] | dbin | Input Db structure (optional) |
[in] | dbout | Output Db structure |
[in] | model | Model structure |
[in] | neigh | ANeigh structure (optional) |
[in] | nbsimu | Number of simulations |
[in] | seed | Seed for random number generator |
[in] | dmean | Array giving the prior means for the drift terms |
[in] | dcov | Array containing the prior covariance matrix for the drift terms |
[in] | nbtuba | Number of turning bands |
[in] | flag_check | 1 to check the proximity in Gaussian scale |
[in] | namconv | Naming convention |
int simtub | ( | Db * | dbin, |
Db * | dbout, | ||
Model * | model, | ||
ANeigh * | neigh, | ||
int | nbsimu, | ||
int | seed, | ||
int | nbtuba, | ||
bool | flag_dgm, | ||
bool | flag_check, | ||
const NamingConvention & | namconv | ||
) |
Perform the conditional or non-conditional simulation
[in] | dbin | Input Db structure (optional) |
[in] | dbout | Output Db structure |
[in] | model | Model structure |
[in] | neigh | ANeigh structure (optional) |
[in] | nbsimu | Number of simulations |
[in] | seed | Seed for random number generator |
[in] | nbtuba | Number of turning bands |
[in] | flag_dgm | 1 for Direct Block Simulation |
[in] | flag_check | 1 to check the proximity in Gaussian scale |
[in] | namconv | Naming convention |