Class containing the Spatial Characteristics as calculated experimentally from the data (contained in a Db). More...
#include <Vario.hpp>
Class containing the Spatial Characteristics as calculated experimentally from the data (contained in a Db).
The experimental Spatial Characteristics is usually referred to as the experimental variogram. However, note that it can rather calculate other results such as a Covariance or a Madogram. All these quantities can be regrouped by considering them as two-points statistics. For a complete list of calculation methods, please refer to ECalcVario.hpp.
This class is composed of two parts:
Results
All the Spatial Characteristics are calculated:
They are always expressed as a table with one row per distance lag and three columns containing:
Note that:
Public Member Functions | |
| Vario (const VarioParam &varioparam) | |
| Vario (const Vario &r) | |
| Vario & | operator= (const Vario &r) |
| virtual | ~Vario () |
| virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
| AStringable Interface. More... | |
| double | _getIVAR (const Db *db, int iech, int ivar) const override |
| AVario Interface. More... | |
| void | _setResult (int iech1, int iech2, int nvar, int ipas, int ivar, int jvar, int orient, double ww, double dist, double value) override |
| void | resetReduce (const VectorInt &varcols, const VectorInt &dircols, bool asSymmetric=false) |
| bool | getFlagAsym () const |
| bool | drawOnlyPositiveX (int ivar, int jvar) const |
| bool | drawOnlyPositiveY (int ivar, int jvar) const |
| int | getVariableNumber () const |
| const VectorDouble & | getMeans () const |
| double | getMean (int ivar) const |
| double | getVar (int ivar, int jvar) const |
| double | getVarIndex (int ijvar) const |
| const VectorDouble & | getVars () const |
| void | setMeans (const VectorDouble &means) |
| void | setMean (double mean, int ivar=0) |
| void | setVar (double value, int ivar=0, int jvar=0) |
| void | setVars (const VectorDouble &vars) |
| void | setVarIndex (int ijvar, double value) |
| void | setDb (Db *db) |
| int | getDirSize (int idir) const |
| double | getGgByIndex (int idir=0, int i=0) const |
| double | getHhByIndex (int idir=0, int i=0) const |
| double | getSwByIndex (int idir=0, int i=0) const |
| double | getUtilizeByIndex (int idir=0, int i=0) const |
| double | getGg (int idir=0, int ivar=0, int jvar=0, int ipas=0, bool asCov=false, bool flagNormalized=false) const |
| double | getHh (int idir=0, int ivar=0, int jvar=0, int ipas=0) const |
| double | getSw (int idir=0, int ivar=0, int jvar=0, int ipas=0) const |
| double | getUtilize (int idir=0, int ivar=0, int jvar=0, int ipas=0) const |
| VectorVectorDouble | getVec (int idir=0, int ivar=0, int jvar=0) const |
| VectorDouble | getGgVec (int idir=0, int ivar=0, int jvar=0, bool asCov=false, bool flagNormalized=false, bool compress=true) const |
| VectorDouble | getHhVec (int idir=0, int ivar=0, int jvar=0, bool compress=true) const |
| VectorDouble | getSwVec (int idir=0, int ivar=0, int jvar=0, bool compress=true) const |
| VectorDouble | getUtilizeVec (int idir=0, int ivar=0, int jvar=0, bool compress=true) const |
| void | setSwVec (int idir, int ivar, int jvar, const VectorDouble &sw) |
| void | setHhVec (int idir, int ivar, int jvar, const VectorDouble &hh) |
| void | setGgVec (int idir, int ivar, int jvar, const VectorDouble &gg) |
| VectorDouble | getGgs (int idir=0, int ivar=0, int jvar=0, const VectorInt &ipas=VectorInt()) const |
| VectorDouble | setGgs (int idir, int ivar, int jvar, const VectorInt &ipas, const VectorDouble &values) |
| const VectorDouble & | getAllGg (int idir=0) const |
| const VectorDouble & | getAllHh (int idir=0) const |
| const VectorDouble & | getAllSw (int idir=0) const |
| const VectorDouble & | getAllUtilize (int idir=0) const |
| void | setGgByIndex (int idir, int i, double gg, bool flagCheck=true) |
| void | setHhByIndex (int idir, int i, double hh, bool flagCheck=true) |
| void | setSwByIndex (int idir, int i, double sw, bool flagCheck=true) |
| void | setUtilizeByIndex (int idir, int i, double utilize, bool flagCheck=true) |
| void | setSw (int idir, int ivar, int jvar, int ipas, double sw, bool flagCheck=true) |
| void | setHh (int idir, int ivar, int jvar, int ipas, double hh, bool flagCheck=true) |
| void | setGg (int idir, int ivar, int jvar, int ipas, double gg, bool flagCheck=true) |
| void | setUtilize (int idir, int ivar, int jvar, int ipas, double utilize, bool flagCheck=true) |
| void | updateSwByIndex (int idir, int i, double sw, bool flagCheck=true) |
| void | updateHhByIndex (int idir, int i, double hh, bool flagCheck=true) |
| void | updateGgByIndex (int idir, int i, double gg, bool flagCheck=true) |
| int | getCenter (int ivar=0, int jvar=0, int idir=0) const |
| int | getNext (int ivar=0, int jvar=0, int idir=0, int shift=1) const |
| int | internalVariableResize () |
| void | internalDirectionResize (int ndir=0, bool flagDirs=true) |
| double | getHmax (int ivar=-1, int jvar=-1, int idir=-1) const |
| VectorDouble | getHRange (int ivar=-1, int jvar=-1, int idir=-1) const |
| double | getGmax (int ivar=-1, int jvar=-1, int idir=-1, bool flagAbs=false, bool flagSill=false) const |
| VectorDouble | getGRange (int ivar=-1, int jvar=-1, int idir=-1, bool flagSill=false) const |
| void | patchCenter (int idir, int nech, double rho) |
| int | fill (int idir, const VectorDouble &sw, const VectorDouble &gg, const VectorDouble &hh) |
| int | getDirAddress (int idir, int ivar, int jvar, int ipas, bool flag_abs=false, int sens=0, bool flagCheck=true) const |
| int | getVarAddress (int ivar, int jvar) const |
| int | getLagTotalNumber (int idir) const |
| int | compute (Db *db, const ECalcVario &calcul=ECalcVario::fromKey("VARIOGRAM"), bool flag_sample=false, bool verr_mode=false, const Model *model=nullptr, int niter_UK=0, bool verbose=false) |
| int | computeIndic (Db *db, const ECalcVario &calcul=ECalcVario::fromKey("VARIOGRAM"), bool flag_sample=false, bool verr_mode=false, const Model *model=nullptr, int niter_UK=0, bool verbose=false, int nfacmax=-1) |
| int | computeGeometry (Db *db, Vario_Order *vorder, int *npair) |
| int | computeVarioVect (Db *db, int ncomp) |
| int | computeGeometryMLayers (Db *db, VectorInt &seltab, Vario_Order *vorder) const |
| int | regularizeFromModel (const Model &model, const VectorDouble &ext, const VectorInt &ndisc, const VectorDouble &angles=VectorDouble(), const CovCalcMode *mode=nullptr, bool asCov=false) |
| int | regularizeFromDbGrid (Model *model, const Db &db, const CovCalcMode *mode=nullptr) |
| void | getExtension (int ivar, int jvar, int idir0, int flag_norm, int flag_vars, double distmin, double distmax, double varmin, double varmax, int *flag_hneg, int *flag_gneg, double *c0, double *hmin, double *hmax, double *gmin, double *gmax) |
| int | sampleModel (Model *model, const CovCalcMode *mode=nullptr) |
| const DirParam & | getDirParam (int idir) const |
| int | getDirectionNumber () const |
| const VectorDouble & | getDates () const |
| bool | hasDate () const |
| double | getDates (int idate, int icas) const |
| int | getDateNumber () const |
| double | getScale () const |
| int | getDimensionNumber () const |
| const ASpace * | getSpace () const |
| void | setScale (double scale) |
| void | addDirs (const DirParam &dirparam) |
| int | getLagNumber (int idir) const |
| double | getDPas (int idir) const |
| int | getDimensionNumber (int idir) const |
| VectorDouble | getCodirs (int idir) const |
| double | getCodir (int idir, int idim) const |
| double | getMaximumDistance (int idir) const |
| int | getIdate (int idir) const |
| VectorInt | getGrincrs (int idir) const |
| double | getGrincr (int idir, int idim) const |
| bool | isDefinedForGrid () const |
| void | setNVar (int nvar) |
| void | setCalculByName (const String &calcul_name) |
| void | setVariableNames (const VectorString &variableNames) |
| void | setVariableName (int ivar, const String &variableName) |
| int | prepare (const ECalcVario &calcul=ECalcVario::fromKey("VARIOGRAM"), bool defineList=true) |
| const VarioParam & | getVarioParam () const |
| int | getBiPtsNumberPerDirection () const |
| const ABiTargetCheck * | getBipts (int idir, int rank) const |
| bool | keepPair (int idir, SpaceTarget &T1, SpaceTarget &T2, double *dist) const |
| int | getRankFromDirAndDate (int idir, int idate) const |
| const VectorString & | getVariableNames () const |
| String | getVariableName (int ivar) const |
| int | transformCut (int nh, double ycut) |
| int | transformZToY (const AAnam *anam) |
| int | transformYToZ (const AAnam *anam) |
Public Member Functions inherited from AVario | |
| AVario () | |
| AVario (const AVario &r) | |
| AVario & | operator= (const AVario &r) |
| virtual | ~AVario () |
| const ECalcVario & | getCalcul () const |
| void | setCalcul (const ECalcVario &calcul) |
| void | setCalculByName (const String &calcul_name) |
Public Member Functions inherited from AStringable | |
| AStringable () | |
| AStringable (const AStringable &r) | |
| AStringable & | operator= (const AStringable &r) |
| virtual | ~AStringable () |
| virtual void | display (const AStringFormat *strfmt=nullptr) const final |
| virtual void | display (int level) const final |
Public Member Functions inherited from ICloneable | |
| ICloneable () | |
| virtual | ~ICloneable () |
| virtual ICloneable * | clone () const =0 |
Public Member Functions inherited from ASerializable | |
| ASerializable () | |
| ASerializable (const ASerializable &r) | |
| ASerializable & | operator= (const ASerializable &r) |
| virtual | ~ASerializable () |
| bool | deserialize (std::istream &is, bool verbose=true) |
| bool | serialize (std::ostream &os, bool verbose=true) const |
| bool | dumpToNF (const String &neutralFilename, bool verbose=false) const |
Static Public Member Functions | |
| static Vario * | create (const VarioParam &varioparam) |
| static Vario * | createFromNF (const String &neutralFilename, bool verbose=true) |
| static Vario * | createRegularizeFromModel (const Model &model, const VarioParam &varioparam, const VectorDouble &ext, const VectorInt &ndisc, const VectorDouble &angles, bool asCov=false) |
| static Vario * | createTransformZToY (const Vario &varioZ, const AAnam *anam) |
| static Vario * | createTransformYToZ (const Vario &varioY, const AAnam *anam) |
| static Vario * | createReduce (const Vario &varioIn, const VectorInt &varcols, const VectorInt &dircols, bool asSymmetric=false) |
| static Vario * | computeFromDb (const VarioParam &varioparam, Db *db, const ECalcVario &calcul=ECalcVario::fromKey("VARIOGRAM"), bool flag_sample=false, bool verr_mode=false, Model *model=nullptr, int niter_UK=0, bool verbose=false) |
Static Public Member Functions inherited from AVario | |
| static ECalcVario | getCalculType (const String &calcul_name) |
Static Public Member Functions inherited from ASerializable | |
| static String | buildFileName (int status, const String &filename, bool ensureDirExist=false) |
| static String | getHomeDirectory (const String &sub="") |
| static String | getWorkingDirectory () |
| static String | getTestData (const String &subdir, const String &filename) |
| static String | getFileIdentity (const String &filename, bool verbose=false) |
| static void | setContainerName (bool useDefault, const String &containerName="", bool verbose=false) |
| static void | unsetContainerName () |
| static void | setPrefixName (const String &prefixName) |
| static void | unsetPrefixName () |
| static const String & | getContainerName () |
| static const String & | getPrefixName () |
| static bool | createDirectory (const String &dir) |
| static String | getExecDirectory () |
| static String | getDirectory (const String &path) |
Public Attributes | |
| DECLARE_TOTL | |
| ICloneable interface. More... | |
| Vario::Vario | ( | const VarioParam & | varioparam | ) |
Build a Vario object by calculating the experimental variogram
| varioparam | VarioParam structure |
| Vario::Vario | ( | const Vario & | r | ) |
|
virtual |
|
overridevirtual |
AVario Interface.
Calculate the data value (possibly after removing the global trend)
| [in] | db | Db descriptor |
| [in] | iech | Rank of the sample |
| [in] | ivar | Rank of the variable |
Implements AVario.
|
overridevirtual |
Internal function for setting a variogram value
| [in] | iech1 | Rank of the first sample |
| [in] | iech2 | Rank of the second sample |
| [in] | nvar | Number of variables |
| [in] | ipas | Rank of the variogram lag |
| [in] | ivar | Index of the first variable |
| [in] | jvar | Index of the second variable |
| [in] | orient | Orientation |
| [in] | ww | Weight |
| [in] | dist | Distance |
| [in] | value | Variogram value |
Implements AVario.
|
inline |
| int Vario::compute | ( | Db * | db, |
| const ECalcVario & | calcul = ECalcVario::fromKey("VARIOGRAM"), |
||
| bool | flag_sample = false, |
||
| bool | verr_mode = false, |
||
| const Model * | model = nullptr, |
||
| int | niter_UK = 0, |
||
| bool | verbose = false |
||
| ) |
|
static |
| int Vario::computeGeometry | ( | Db * | db, |
| Vario_Order * | vorder, | ||
| int * | npair | ||
| ) |
Calculate the geometry for a given direction
| [in] | db | Db description |
| [out] | vorder | Vario_Order structure |
| [out] | npair | Number of pairs |
| int Vario::computeGeometryMLayers | ( | Db * | db, |
| VectorInt & | seltab, | ||
| Vario_Order * | vorder | ||
| ) | const |
Determine the samples used for a variogram in multilayers framework
| [in] | db | Db description |
| [in] | seltab | Number of sample definition (0, 1 or 2) |
| [out] | vorder | Vario_Order structure |
| int Vario::computeIndic | ( | Db * | db, |
| const ECalcVario & | calcul = ECalcVario::fromKey("VARIOGRAM"), |
||
| bool | flag_sample = false, |
||
| bool | verr_mode = false, |
||
| const Model * | model = nullptr, |
||
| int | niter_UK = 0, |
||
| bool | verbose = false, |
||
| int | nfacmax = -1 |
||
| ) |
| int Vario::computeVarioVect | ( | Db * | db, |
| int | ncomp | ||
| ) |
Evaluate the experimental covariance for directional variables
| [in] | db | Db descriptor |
| [in] | ncomp | Number of components |
|
static |
|
static |
|
static |
| bool Vario::drawOnlyPositiveX | ( | int | ivar, |
| int | jvar | ||
| ) | const |
| bool Vario::drawOnlyPositiveY | ( | int | ivar, |
| int | jvar | ||
| ) | const |
| int Vario::fill | ( | int | idir, |
| const VectorDouble & | sw, | ||
| const VectorDouble & | gg, | ||
| const VectorDouble & | hh | ||
| ) |
| const VectorDouble & Vario::getAllGg | ( | int | idir = 0 | ) | const |
| const VectorDouble & Vario::getAllHh | ( | int | idir = 0 | ) | const |
| const VectorDouble & Vario::getAllSw | ( | int | idir = 0 | ) | const |
| const VectorDouble & Vario::getAllUtilize | ( | int | idir = 0 | ) | const |
|
inline |
|
inline |
| int Vario::getCenter | ( | int | ivar = 0, |
| int | jvar = 0, |
||
| int | idir = 0 |
||
| ) | const |
| double Vario::getCodir | ( | int | idir, |
| int | idim | ||
| ) | const |
| VectorDouble Vario::getCodirs | ( | int | idir | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| int Vario::getDirAddress | ( | int | idir, |
| int | ivar, | ||
| int | jvar, | ||
| int | ipas, | ||
| bool | flag_abs = false, |
||
| int | sens = 0, |
||
| bool | flagCheck = true |
||
| ) | const |
|
inline |
|
inline |
| int Vario::getDirSize | ( | int | idir | ) | const |
Returns the Dimension of internal arrays after the number of variables has been defined
| idir | Target direction |
|
inline |
| void Vario::getExtension | ( | int | ivar, |
| int | jvar, | ||
| int | idir0, | ||
| int | flag_norm, | ||
| int | flag_vars, | ||
| double | distmin, | ||
| double | distmax, | ||
| double | varmin, | ||
| double | varmax, | ||
| int * | flag_hneg, | ||
| int * | flag_gneg, | ||
| double * | c0, | ||
| double * | hmin, | ||
| double * | hmax, | ||
| double * | gmin, | ||
| double * | gmax | ||
| ) |
Calculate the variogram extension for a pair of variables
| [in] | ivar | Rank of the first variable |
| [in] | jvar | Rank of the second variable |
| [in] | idir0 | Rank of the direction (-1 for all) |
| [in] | flag_norm | 1 if the variogram must be normalized by variance |
| [in] | flag_vars | 1 if the global statistics must be taken into account |
| [in] | distmin | Minimum along the distance axis |
| [in] | distmax | Maximum along the distance axis |
| [in] | varmin | Minimum along the variogram (or covariance) axis |
| [in] | varmax | Maximum along the variogram (or covariance) axis |
| [out] | flag_hneg | 1 if the distance scale can be negative |
| [out] | flag_gneg | 1 if the variogram scale can be negative |
| [out] | c0 | Value of the variogram at the origin |
| [out] | hmin | Minimum distance |
| [out] | hmax | Maximum distance |
| [out] | gmin | Minimum variogram value |
| [out] | gmax | Maximum variogram value |
|
inline |
| double Vario::getGg | ( | int | idir = 0, |
| int | ivar = 0, |
||
| int | jvar = 0, |
||
| int | ipas = 0, |
||
| bool | asCov = false, |
||
| bool | flagNormalized = false |
||
| ) | const |
| double Vario::getGgByIndex | ( | int | idir = 0, |
| int | i = 0 |
||
| ) | const |
| VectorDouble Vario::getGgs | ( | int | idir = 0, |
| int | ivar = 0, |
||
| int | jvar = 0, |
||
| const VectorInt & | ipas = VectorInt() |
||
| ) | const |
| VectorDouble Vario::getGgVec | ( | int | idir = 0, |
| int | ivar = 0, |
||
| int | jvar = 0, |
||
| bool | asCov = false, |
||
| bool | flagNorm = false, |
||
| bool | compress = true |
||
| ) | const |
Returns the vector of variogram values for a given pair of variables in a given direction
| idir | Direction |
| ivar | First variable |
| jvar | Second variable |
| asCov | True if result should be provided as Covariance, False for Variogram |
| flagNorm | If the result should be provided as a Normalized covariance / Variogram |
| compress | When true, suppress lags where 'sw' <= 0 |
| double Vario::getGmax | ( | int | ivar = -1, |
| int | jvar = -1, |
||
| int | idir = -1, |
||
| bool | flagAbs = false, |
||
| bool | flagSill = false |
||
| ) | const |
| VectorDouble Vario::getGRange | ( | int | ivar = -1, |
| int | jvar = -1, |
||
| int | idir = -1, |
||
| bool | flagSill = false |
||
| ) | const |
|
inline |
|
inline |
| double Vario::getHh | ( | int | idir = 0, |
| int | ivar = 0, |
||
| int | jvar = 0, |
||
| int | ipas = 0 |
||
| ) | const |
| double Vario::getHhByIndex | ( | int | idir = 0, |
| int | i = 0 |
||
| ) | const |
| VectorDouble Vario::getHhVec | ( | int | idir = 0, |
| int | ivar = 0, |
||
| int | jvar = 0, |
||
| bool | compress = true |
||
| ) | const |
Returns the vector of distances for a given pair of variables in a given direction
| idir | Direction |
| ivar | First variable |
| jvar | Second variable |
| compress | When true, suppress lags where 'sw' <= 0 |
| double Vario::getHmax | ( | int | ivar = -1, |
| int | jvar = -1, |
||
| int | idir = -1 |
||
| ) | const |
| VectorDouble Vario::getHRange | ( | int | ivar = -1, |
| int | jvar = -1, |
||
| int | idir = -1 |
||
| ) | const |
Returns a vector with Minimum-Maximum of the Hh array
| ivar | Target variable (or -1) |
| jvar | Target variable (or -1) |
| idir | Target Direction (or -1) |
|
inline |
|
inline |
| int Vario::getLagTotalNumber | ( | int | idir | ) | const |
|
inline |
| double Vario::getMean | ( | int | ivar | ) | const |
|
inline |
| int Vario::getNext | ( | int | ivar = 0, |
| int | jvar = 0, |
||
| int | idir = 0, |
||
| int | shift = 1 |
||
| ) | const |
| int Vario::getRankFromDirAndDate | ( | int | idir, |
| int | idate | ||
| ) | const |
Ask for the rank of the 'vardir' structure, given direction and date
| [in] | idir | Rank for the direction (starting from 0) |
| [in] | idate | Rank for the Date (starting from 0) |
|
inline |
|
inline |
| double Vario::getSw | ( | int | idir = 0, |
| int | ivar = 0, |
||
| int | jvar = 0, |
||
| int | ipas = 0 |
||
| ) | const |
| double Vario::getSwByIndex | ( | int | idir = 0, |
| int | i = 0 |
||
| ) | const |
| VectorDouble Vario::getSwVec | ( | int | idir = 0, |
| int | ivar = 0, |
||
| int | jvar = 0, |
||
| bool | compress = true |
||
| ) | const |
Returns the vector of weights for a given pair of variables in a given direction
| idir | Direction |
| ivar | First variable |
| jvar | Second variable |
| compress | When true, suppress lags where 'sw' <= 0 |
| double Vario::getUtilize | ( | int | idir = 0, |
| int | ivar = 0, |
||
| int | jvar = 0, |
||
| int | ipas = 0 |
||
| ) | const |
| double Vario::getUtilizeByIndex | ( | int | idir = 0, |
| int | i = 0 |
||
| ) | const |
| VectorDouble Vario::getUtilizeVec | ( | int | idir = 0, |
| int | ivar = 0, |
||
| int | jvar = 0, |
||
| bool | compress = true |
||
| ) | const |
Returns the vector of utilization flags for a given pair of variables in a given direction
| idir | Direction |
| ivar | First variable |
| jvar | Second variable |
| compress | When true, suppress lags where 'sw' <= 0 |
| double Vario::getVar | ( | int | ivar, |
| int | jvar | ||
| ) | const |
| int Vario::getVarAddress | ( | int | ivar, |
| int | jvar | ||
| ) | const |
| String Vario::getVariableName | ( | int | ivar | ) | const |
|
inline |
|
inline |
| double Vario::getVarIndex | ( | int | ijvar | ) | const |
|
inline |
|
inline |
| VectorVectorDouble Vario::getVec | ( | int | idir = 0, |
| int | ivar = 0, |
||
| int | jvar = 0 |
||
| ) | const |
Returns a triple array of values: 0-Weight; 1-Distance; 2-Variogram
| idir | Target Direction |
| ivar | Target first variable |
| jvar | Target second variable |
|
inline |
| void Vario::internalDirectionResize | ( | int | ndir = 0, |
| bool | flagDirs = true |
||
| ) |
| int Vario::internalVariableResize | ( | ) |
|
inline |
| bool Vario::keepPair | ( | int | idir, |
| SpaceTarget & | T1, | ||
| SpaceTarget & | T2, | ||
| double * | dist | ||
| ) | const |
| void Vario::patchCenter | ( | int | idir, |
| int | nech, | ||
| double | rho | ||
| ) |
| int Vario::prepare | ( | const ECalcVario & | calcul = ECalcVario::fromKey("VARIOGRAM"), |
| bool | defineList = true |
||
| ) |
| int Vario::regularizeFromDbGrid | ( | Model * | model, |
| const Db & | db, | ||
| const CovCalcMode * | mode = nullptr |
||
| ) |
Calculate the regularized model as an experimental variogram
| [in] | model | Model structure |
| [in] | db | Db discretization structure |
| [in] | mode | CovCalcMode structure |
| int Vario::regularizeFromModel | ( | const Model & | model, |
| const VectorDouble & | ext, | ||
| const VectorInt & | ndisc, | ||
| const VectorDouble & | angles = VectorDouble(), |
||
| const CovCalcMode * | mode = nullptr, |
||
| bool | asCov = false |
||
| ) |
Calculate the regularized model as an experimental variogram
| [in] | model | Model structure |
| [in] | ext | Vector of Block extension |
| [in] | ndisc | Vector of discretization counts |
| [in] | angles | Vector of rotation angles (optional) |
| [in] | mode | CovCalcMode structure |
| [in] | asCov | When true; produces a covariance |
| void Vario::resetReduce | ( | const VectorInt & | varcols, |
| const VectorInt & | dircols, | ||
| bool | asSymmetric = false |
||
| ) |
Reduce the current variogram by keeping a subset of variables and/or directions
| varcols | Vector of variable ranks (starting from 0) |
| dircols | Vector of direction ranks (starting from 0) |
| asSymmetric | Turn the result into as Symmetrical function (i.e. variogram) |
| int Vario::sampleModel | ( | Model * | model, |
| const CovCalcMode * | mode = nullptr |
||
| ) |
Calculates variogram values by sampling a model
| [in] | model | Model structure |
| [in] | mode | CovCalcMode structure |
| void Vario::setCalculByName | ( | const String & | calcul_name | ) |
| void Vario::setDb | ( | Db * | db | ) |
| void Vario::setGg | ( | int | idir, |
| int | ivar, | ||
| int | jvar, | ||
| int | ipas, | ||
| double | gg, | ||
| bool | flagCheck = true |
||
| ) |
| void Vario::setGgByIndex | ( | int | idir, |
| int | i, | ||
| double | gg, | ||
| bool | flagCheck = true |
||
| ) |
| VectorDouble Vario::setGgs | ( | int | idir, |
| int | ivar, | ||
| int | jvar, | ||
| const VectorInt & | ipas, | ||
| const VectorDouble & | values | ||
| ) |
| void Vario::setGgVec | ( | int | idir, |
| int | ivar, | ||
| int | jvar, | ||
| const VectorDouble & | gg | ||
| ) |
| void Vario::setHh | ( | int | idir, |
| int | ivar, | ||
| int | jvar, | ||
| int | ipas, | ||
| double | hh, | ||
| bool | flagCheck = true |
||
| ) |
| void Vario::setHhByIndex | ( | int | idir, |
| int | i, | ||
| double | hh, | ||
| bool | flagCheck = true |
||
| ) |
| void Vario::setHhVec | ( | int | idir, |
| int | ivar, | ||
| int | jvar, | ||
| const VectorDouble & | hh | ||
| ) |
| void Vario::setMean | ( | double | mean, |
| int | ivar = 0 |
||
| ) |
| void Vario::setMeans | ( | const VectorDouble & | means | ) |
|
inline |
|
inline |
| void Vario::setSw | ( | int | idir, |
| int | ivar, | ||
| int | jvar, | ||
| int | ipas, | ||
| double | sw, | ||
| bool | flagCheck = true |
||
| ) |
| void Vario::setSwByIndex | ( | int | idir, |
| int | i, | ||
| double | sw, | ||
| bool | flagCheck = true |
||
| ) |
| void Vario::setSwVec | ( | int | idir, |
| int | ivar, | ||
| int | jvar, | ||
| const VectorDouble & | sw | ||
| ) |
| void Vario::setUtilize | ( | int | idir, |
| int | ivar, | ||
| int | jvar, | ||
| int | ipas, | ||
| double | utilize, | ||
| bool | flagCheck = true |
||
| ) |
| void Vario::setUtilizeByIndex | ( | int | idir, |
| int | i, | ||
| double | utilize, | ||
| bool | flagCheck = true |
||
| ) |
| void Vario::setVar | ( | double | value, |
| int | ivar = 0, |
||
| int | jvar = 0 |
||
| ) |
| void Vario::setVariableName | ( | int | ivar, |
| const String & | variableName | ||
| ) |
|
inline |
| void Vario::setVarIndex | ( | int | ijvar, |
| double | value | ||
| ) |
| void Vario::setVars | ( | const VectorDouble & | vars | ) |
|
overridevirtual |
AStringable Interface.
Reimplemented from AStringable.
| int Vario::transformCut | ( | int | nh, |
| double | ycut | ||
| ) |
Update the experimental variogram of the completed variable starting from the experimental variogram of the truncated variable This only functions in the monovariate case
| [in] | nh | Number of Hermite polynomials |
| [in] | ycut | Truncation (lowest) value |
| int Vario::transformYToZ | ( | const AAnam * | anam | ) |
Calculate the experimental variogram of the Raw starting from the Model of the Gaussian variable
| [in] | anam | Point anamorphosis |
| int Vario::transformZToY | ( | const AAnam * | anam | ) |
Transform the experimental variogram from raw to gaussian space
| [in] | anam | Point Hermite anamorphosis |
| void Vario::updateGgByIndex | ( | int | idir, |
| int | i, | ||
| double | gg, | ||
| bool | flagCheck = true |
||
| ) |
| void Vario::updateHhByIndex | ( | int | idir, |
| int | i, | ||
| double | hh, | ||
| bool | flagCheck = true |
||
| ) |
| void Vario::updateSwByIndex | ( | int | idir, |
| int | i, | ||
| double | sw, | ||
| bool | flagCheck = true |
||
| ) |
| Vario::DECLARE_TOTL |
ICloneable interface.
Has a specific implementation in the Target language