1.8.0a1
CCC
 
Loading...
Searching...
No Matches
Model Class Reference

Class containing the Model Information describing the formal Spatial (or Temporal) Characteristics of the (set of) random variable(s) under study. More...

#include <Model.hpp>

Inheritance diagram for Model:
AStringable ASerializable ModelCovList ModelGeneric ICloneable

Detailed Description

Class containing the Model Information describing the formal Spatial (or Temporal) Characteristics of the (set of) random variable(s) under study.

The Model is essentially a container with two main contents:

  • the covariance part: see ACov.hpp for more information
  • the drift part: see DriftList.hpp for more information

The additional member CovContext only serves in carrying the following information:

  • the number of variables: if more than 1, the Model becomes multivariate
  • the field extension: this information is needed to get a stationary version to any covariance
  • the experimental mean vector and the variance-covariance matrix (used to calibrate the Model)

Public Member Functions

 Model (const CovContext &ctxt=CovContext())
 
 Model (int nvar, int ndim=2)
 
 Model (const Model &m)
 
Modeloperator= (const Model &m)
 
virtual ~Model ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 ICloneable interface.
 
const CovAnisoListcastInCovAnisoListConst (int icov=-1) const
 
const CovLMCTaperingcastInCovLMCTaperingConst () const
 
const CovLMGradientcastInCovLMGradientConst () const
 
const CovLMCAnamorphosiscastInCovLMCAnamorphosisConst () const
 
CovAnisoList_castInCovAnisoList (int icov=-1)
 
CovLMCTapering_castInCovLMCTapering ()
 
CovLMGradient_castInCovLMGradient ()
 
CovLMCAnamorphosis_castInCovLMCAnamorphosis ()
 
int resetFromDb (const Db *db)
 
void setCovAnisoList (const CovAnisoList *covalist)
 
void addCovAniso (const CovAniso *cov)
 
void addCovFromParam (const ECov &type, double range=EPSILON6, double sill=1., double param=1., const VectorDouble &ranges=VectorDouble(), const MatrixSymmetric &sills=MatrixSymmetric(), const VectorDouble &angles=VectorDouble(), bool flagRange=true)
 
void addCovFromParamOldStyle (const ECov &type, double range=EPSILON6, double sill=1., double param=1., const VectorDouble &ranges=VectorDouble(), const VectorDouble &sills=VectorDouble(), const VectorDouble &angles=VectorDouble(), bool flagRange=true)
 
int setAnam (const AAnam *anam, const VectorInt &strcnt=VectorInt())
 
int unsetAnam ()
 
bool isFlagGradient () const
 
bool isFlagGradientNumerical () const
 
bool isFlagGradientFunctional () const
 
void switchToGradient ()
 
const CovAnisoListgetCovAnisoList () const
 TODO : to be removed (encapsulation of CovAnisoList)
 
CovAnisoListgetCovAnisoListModify ()
 
double evalCovFromIncr (const VectorDouble &incr, int icov=0, const ECalcMember &member=ECalcMember::fromKey("LHS")) const
 
Modelduplicate () const
 
ModelcreateReduce (const VectorInt &validVars) const
 
int getNVar () const
 
int fitFromCovIndices (Vario *vario, const VectorECov &types=ECov::fromKeys({"EXPONENTIAL"}), const Constraints &constraints=Constraints(), const Option_VarioFit &optvar=Option_VarioFit(), const Option_AutoFit &mauto=Option_AutoFit(), bool verbose=false)
 
int fit (Vario *vario, const VectorECov &types=ECov::fromKeys({"SPHERICAL"}), const Constraints &constraints=Constraints(), const Option_VarioFit &optvar=Option_VarioFit(), const Option_AutoFit &mauto=Option_AutoFit(), bool verbose=false)
 
int fitFromVMap (DbGrid *dbmap, const VectorECov &types=ECov::fromKeys({"SPHERICAL"}), const Constraints &constraints=Constraints(), const Option_VarioFit &optvar=Option_VarioFit(), const Option_AutoFit &mauto=Option_AutoFit(), bool verbose=false)
 
int stabilize (double percent, bool verbose=false)
 
int standardize (bool verbose=false)
 
bool isValid () const
 
virtual int getActiveFactor () const
 Call the method CovAnisoList::getActiveFactor of the object CovAnisoList.
 
const CovAnisogetCovAniso (int icov) const
 Call the method CovAnisoList::getCovAniso of the object CovAnisoList.
 
int getNCov (bool skipNugget=false) const
 Call the method CovAnisoList::getNCov of the object CovAnisoList.
 
const ECov & getCovType (int icov) const override
 Call the method CovAnisoList::getCovType of the object CovAnisoList.
 
double getRange (int icov) const
 Call the method CovAnisoList::getRange of the object CovAnisoList.
 
VectorDouble getRanges (int icov) const
 Call the method CovAnisoList::getRanges of the object CovAnisoList.
 
VectorDouble getAngles (int icov) const
 Call the method CovAnisoList::getAngles of the object CovAnisoList.
 
virtual const AAnamgetAnam () const
 Call the method CovAnisoList::getAnam of the object CovAnisoList.
 
double getParam (int icov) const
 Call the method CovAnisoList::getParam of the object CovAnisoList.
 
String getCovName (int icov) const override
 Call the method CovAnisoList::getCovName of the object CovAnisoList.
 
CovAniso extractCova (int icov) const
 Call the method CovAnisoList::extractCova of the object CovAnisoList.
 
int getNGradParam (int icov) const
 Call the method CovAnisoList::getNGradParam of the object CovAnisoList.
 
double getMaximumDistance () const
 Call the method CovAnisoList::getMaximumDistance of the object CovAnisoList.
 
int getCovMinIRFOrder () const
 Call the method CovAnisoList::getCovMinIRFOrder of the object CovAnisoList.
 
virtual int getAnamNClass () const
 Call the method CovAnisoList::getAnamNClass of the object CovAnisoList.
 
virtual bool hasAnam () const
 Call the method CovAnisoList::hasAnam of the object CovAnisoList.
 
bool hasNugget () const
 Call the method CovAnisoList::hasNugget of the object CovAnisoList.
 
int getRankNugget () const
 Call the method CovAnisoList::getRankNugget of the object CovAnisoList.
 
double getBallRadius () const
 Call the method CovAnisoList::getBallRadius of the object CovAnisoList.
 
int hasExternalCov () const
 Call the method CovAnisoList::hasExternalCov of the object CovAnisoList.
 
bool isChangeSupportDefined () const
 Call the method CovAnisoList::isChangeSupportDefined of the object CovAnisoList.
 
const AnamHermitegetAnamHermite () const
 Call the method CovAnisoList::getAnamHermite of the object CovAnisoList.
 
const EModelProperty & getCovMode () const
 Call the method CovAnisoList::getCovMode of the object CovAnisoList.
 
void evalZAndGradients (const SpacePoint &p1, const SpacePoint &p2, double &covVal, VectorDouble &covGp, VectorDouble &covGG, const CovCalcMode *mode=nullptr, bool flagGrad=false) const
 Call the method CovLMGradient::evalZAndGradients of the object CovLMGradient.
 
virtual void setActiveFactor (int)
 Call the method CovAnisoList::setActiveFactor of the object CovAnisoList.
 
const CovAnisogetCovAniso (int icov) const
 Call the method CovAnisoList::getCovAniso of the object CovAnisoList.
 
void setRangeIsotropic (int icov, double range)
 Call the method CovAnisoList::setRangeIsotropic of the object CovAnisoList.
 
void setMarkovCoeffs (int icov, const VectorDouble &coeffs)
 Call the method CovAnisoList::setMarkovCoeffs of the object CovAnisoList.
 
void makeRangeNoStatDb (int icov, const String &namecol, int idim=0)
 Call the method CovAnisoList::makeRangeNoStatDb of the object CovAnisoList.
 
void makeScaleNoStatDb (int icov, const String &namecol, int idim=0)
 Call the method CovAnisoList::makeScaleNoStatDb of the object CovAnisoList.
 
void makeAngleNoStatDb (int icov, const String &namecol, int idim=0)
 Call the method CovAnisoList::makeAngleNoStatDb of the object CovAnisoList.
 
void makeTensorNoStatDb (int icov, const String &namecol, int idim=0, int jdim=0)
 Call the method CovAnisoList::makeTensorNoStatDb of the object CovAnisoList.
 
void makeParamNoStatDb (int icov, const String &namecol)
 Call the method CovAnisoList::makeParamNoStatDb of the object CovAnisoList.
 
void makeRangeNoStatFunctional (int icov, const AFunctional *func, int idim=0)
 Call the method CovAnisoList::makeRangeNoStatFunctional of the object CovAnisoList.
 
void makeScaleNoStatFunctional (int icov, const AFunctional *func, int idim=0)
 Call the method CovAnisoList::makeScaleNoStatFunctional of the object CovAnisoList.
 
void makeAngleNoStatFunctional (int icov, const AFunctional *func, int idim=0)
 Call the method CovAnisoList::makeAngleNoStatFunctional of the object CovAnisoList.
 
void makeTensorNoStatFunctional (int icov, const AFunctional *func, int idim=0, int jdim=0)
 Call the method CovAnisoList::makeTensorNoStatFunctional of the object CovAnisoList.
 
void makeParamNoStatFunctional (int icov, const AFunctional *func)
 Call the method CovAnisoList::makeParamNoStatFunctional of the object CovAnisoList.
 
void makeRangeStationary (int icov, int idim=0)
 Call the method CovAnisoList::makeRangeStationary of the object CovAnisoList.
 
void makeScaleStationary (int icov, int idim=0)
 Call the method CovAnisoList::makeScaleStationary of the object CovAnisoList.
 
void makeAngleStationary (int icov, int idim=0)
 Call the method CovAnisoList::makeAngleStationary of the object CovAnisoList.
 
void makeTensorStationary (int icov, int idim, int jdim)
 Call the method CovAnisoList::makeTensorStationary of the object CovAnisoList.
 
void makeParamStationary (int icov)
 Call the method CovAnisoList::makeParamStationary of the object CovAnisoList.
 
void setTapeRange (double range)
 Call the method CovLMCTapering::setTapeRange of the object CovLMCTapering.
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (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 ASerializable
 ASerializable ()
 
 ASerializable (const ASerializable &r)
 
ASerializableoperator= (const ASerializable &r)
 
 ASerializable (ASerializable &&r) noexcept
 
ASerializableoperator= (ASerializable &&r) noexcept
 
virtual ~ASerializable ()
 
bool dumpToNF (const String &NFFilename, const EFormatNF &format=EFormatNF::fromKey("DEFAULT"), bool verbose=false) const
 Dump the contents of an object into an Output File using a given Output NF Format.
 
void setDefaultFormatNF (const EFormatNF &format)
 
- Public Member Functions inherited from ModelCovList
 ModelCovList (const CovContext &ctxt=CovContext())
 
 ModelCovList (const ModelCovList &m)
 
ModelCovListoperator= (const ModelCovList &m)
 
virtual ~ModelCovList ()
 
const CovListgetCovList () const
 
CovListgetCovListModify () const
 
void setCovList (const CovList *covs)
 
virtual void addCov (const CovBase *cov)
 
CovBasegetCovBase (int icov) const
 
void fitSills (Vario *vario=nullptr, const DbGrid *dbmap=nullptr, Constraints *constraints=nullptr, const ModelOptimParam &mop=ModelOptimParam(), bool verbose=false, bool trace=false)
 
void setFitSills (AModelFitSills *amopts) const
 Call the method CovList::setFitSills of the object CovList.
 
void deleteFitSills () const
 Call the method CovList::deleteFitSills of the object CovList.
 
int getNCov () const
 Call the method CovList::getNCov of the object CovList.
 
const MatrixSymmetricgetSills (int icov) const
 Call the method CovList::getSills of the object CovList.
 
double getSill (int icov, int ivar, int jvar) const
 Call the method CovList::getSill of the object CovList.
 
virtual double getTotalSill (int ivar=0, int jvar=0) const
 Call the method CovList::getTotalSill of the object CovList.
 
MatrixSymmetric getTotalSills () const
 Call the method CovList::getTotalSills of the object CovList.
 
bool isAllActiveCovList () const
 Call the method CovList::isAllActiveCovList of the object CovList.
 
AModelFitSillsgetFitSills () const
 Call the method CovList::getFitSills of the object CovList.
 
void delCov (int icov)
 Call the method CovList::delCov of the object CovList.
 
void delAllCov ()
 Call the method CovList::delAllCov of the object CovList.
 
void setCovFiltered (int icov, bool filtered)
 Call the method CovList::setCovFiltered of the object CovList.
 
void makeSillNoStatDb (int icov, const String &namecol, int ivar=0, int jvar=0)
 Call the method CovList::makeSillNoStatDb of the object CovList.
 
void makeSillStationary (int icov, int ivar=0, int jvar=0)
 Call the method CovList::makeSillStationary of the object CovList.
 
void makeSillsStationary (int icov, bool silent=false)
 Call the method CovList::makeSillsStationary of the object CovList.
 
void makeSillNoStatFunctional (int icov, const AFunctional *func, int ivar=0, int jvar=0)
 Call the method CovList::makeSillNoStatFunctional of the object CovList.
 
void setSill (int icov, int ivar, int jvar, double value)
 Call the method CovList::setSill of the object CovList.
 
void setSills (int icov, const MatrixSymmetric &sills)
 Call the method CovList::setSills of the object CovList.
 
void normalize (double sill=1., int ivar=0, int jvar=0)
 Call the method CovList::normalize of the object CovList.
 
- Public Member Functions inherited from ModelGeneric
 ModelGeneric (const CovContext &ctxt=CovContext())
 
 ModelGeneric (const ModelGeneric &r)
 
ModelGenericoperator= (const ModelGeneric &r)
 
virtual ~ModelGeneric ()
 
const ACovgetCov () const
 
const CovContextgetContext () const
 
const DriftListgetDriftList () const
 
ACov_getCovModify ()
 ICloneable interface.
 
CovContext_getContextModify ()
 
DriftList_getDriftListModify ()
 
std::vector< covmaptype > & getGradients ()
 
void setField (double field)
 
bool isValid () const
 
void setCov (const ACov *cova)
 
void setDriftList (const DriftList *driftlist)
 
void setDriftIRF (int order=0, int nfex=0)
 
void addDrift (const ADrift *drift)
 
void setDrifts (const VectorString &driftSymbols)
 
void initParams (const MatrixSymmetric &vars, double href=1.)
 
std::shared_ptr< ListParamsgenerateListParams () const
 
void updateModel ()
 
double computeLogLikelihood (const Db *db, bool verbose=false)
 
void fitNew (const Db *db=nullptr, Vario *vario=nullptr, const DbGrid *dbmap=nullptr, Constraints *constraints=nullptr, const ModelOptimParam &mop=ModelOptimParam(), int nb_neighVecchia=30, bool verbose=false, bool trace=false)
 
MatrixDense evalCovMat (const Db *db1, const Db *db2=nullptr, int ivar0=-1, int jvar0=-1, const VectorInt &nbgh1=VectorInt(), const VectorInt &nbgh2=VectorInt(), const CovCalcMode *mode=nullptr, bool cleanOptim=true) const
 Call the method ACov::evalCovMat of the object ACov.
 
int evalCovMatInPlace (MatrixDense &mat, const Db *db1, const Db *db2=nullptr, int ivar0=-1, int jvar0=-1, const VectorInt &nbgh1=VectorInt(), const VectorInt &nbgh2=VectorInt(), const CovCalcMode *mode=nullptr, bool cleanOptim=true) const
 Call the method ACov::evalCovMatInPlace of the object ACov.
 
int evalCovMatInPlaceFromIdx (MatrixDense &mat, const Db *db1, const Db *db2, const VectorVectorInt &index1, const VectorVectorInt &index2, const VectorInt &nbgh2=VectorInt(), const CovCalcMode *mode=nullptr, bool cleanOptim=true) const
 Call the method ACov::evalCovMatInPlaceFromIdx of the object ACov.
 
MatrixSymmetric evalCovMatSym (const Db *db1, const VectorInt &nbgh1=VectorInt(), int ivar0=-1, const CovCalcMode *mode=nullptr, bool cleanOptim=true) const
 Call the method ACov::evalCovMatSym of the object ACov.
 
int evalCovMatSymInPlace (MatrixSymmetric &mat, const Db *db1, const VectorInt &nbgh1=VectorInt(), int ivar0=-1, const CovCalcMode *mode=nullptr, bool cleanOptim=true) const
 Call the method ACov::evalCovMatSymInPlace of the object ACov.
 
int evalCovMatSymInPlaceFromIdx (MatrixSymmetric &mat, const Db *db1, const VectorVectorInt &index1, const CovCalcMode *mode=nullptr, bool cleanOptim=true) const
 Call the method ACov::evalCovMatSymInPlaceFromIdx of the object ACov.
 
MatrixSymmetric eval0Mat (const CovCalcMode *mode=nullptr) const
 Call the method ACov::eval0Mat of the object ACov.
 
MatrixSymmetric evalCovMat0 (const Db *db, int iech, const KrigOpt &krigopt=KrigOpt()) const
 Call the method ACov::evalCovMat0 of the object ACov.
 
int evalCovMat0InPlace (MatrixSymmetric &mat, const Db *db, int iech, const KrigOpt &krigopt=KrigOpt()) const
 Call the method ACov::evalCovMat0InPlace of the object ACov.
 
int evalCovVecRHSInPlace (vect vect, const RankHandler &rank, int iech2, const KrigOpt &krigopt, SpacePoint &pin, SpacePoint &pout, VectorDouble &tabwork, double lambda=1., const ECalcMember &calcMember=ECalcMember::RHS) const
 Call the method ACov::evalCovVecRHSInPlace of the object ACov.
 
int evalCovMatOptimInPlace (MatrixDense &mat, const Db *dbin, const RankHandler &rankhandler, const KrigOpt &krigopt, const ECalcMember &calcMember, VectorDouble &tabwork, double lambda=1.) const
 Call the method ACov::evalCovMatOptimInPlace of the object ACov.
 
int evalCovMatRHSInPlaceFromIdx (MatrixDense &mat, const Db *db1, const Db *db2, const VectorVectorInt &index1, const int iech2=-1, const KrigOpt &krigopt=KrigOpt(), bool cleanOptim=true) const
 Call the method ACov::evalCovMatRHSInPlaceFromIdx of the object ACov.
 
MatrixSparseevalCovMatSparse (const Db *db1_arg, const Db *db2_arg=nullptr, int ivar0=-1, int jvar0=-1, const VectorInt &nbgh1=VectorInt(), const VectorInt &nbgh2=VectorInt(), const CovCalcMode *mode=nullptr, bool cleanOptim=true, double eps=EPSILON3) const
 Call the method ACov::evalCovMatSparse of the object ACov.
 
virtual double eval0 (int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const
 Call the method ACov::eval0 of the object ACov.
 
double evalCov (const SpacePoint &p1, const SpacePoint &p2, int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const
 Call the method ACov::evalCov of the object ACov.
 
MatrixSquare evalNvarIpas (double step, const VectorDouble &dir=VectorDouble(), const CovCalcMode *mode=nullptr) const
 Call the method ACov::evalNvarIpas of the object ACov.
 
MatrixSquare evalNvarIpasIncr (const VectorDouble &dincr, const CovCalcMode *mode=nullptr) const
 Call the method ACov::evalNvarIpasIncr of the object ACov.
 
VectorDouble evalIvarNlag (const VectorDouble &vec_step, const VectorDouble &dir=VectorDouble(), int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const
 Call the method ACov::evalIvarNlag of the object ACov.
 
double evalIvarIpas (double step, const VectorDouble &dir=VectorDouble(), int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const
 Call the method ACov::evalIvarIpas of the object ACov.
 
double evalCvv (const VectorDouble &ext, const VectorInt &ndisc, const VectorDouble &angles=VectorDouble(), int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const
 Call the method ACov::evalCvv of the object ACov.
 
double evalCvvShift (const VectorDouble &ext, const VectorInt &ndisc, const VectorDouble &shift, const VectorDouble &angles=VectorDouble(), int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const
 Call the method ACov::evalCvvShift of the object ACov.
 
MatrixSquare evalCvvM (const VectorDouble &ext, const VectorInt &ndisc, const VectorDouble &angles=VectorDouble(), const CovCalcMode *mode=nullptr) const
 Call the method ACov::evalCvvM of the object ACov.
 
double evalCxv (const SpacePoint &p1, const VectorDouble &ext, const VectorInt &ndisc, const VectorDouble &angles=VectorDouble(), const VectorDouble &x0=VectorDouble(), int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const
 Call the method ACov::evalCxv of the object ACov.
 
MatrixSquare evalCxvM (const SpacePoint &p1, const VectorDouble &ext, const VectorInt &ndisc, const VectorDouble &angles=VectorDouble(), const VectorDouble &x0=VectorDouble(), const CovCalcMode *mode=nullptr) const
 Call the method ACov::evalCxvM of the object ACov.
 
void evalPointToDb (VectorDouble &values, const SpacePoint &p1, const Db *db2, int ivar=0, int jvar=0, bool useSel=true, const VectorInt &nbgh2=VectorInt(), const CovCalcMode *mode=nullptr) const
 Call the method ACov::evalPointToDb of the object ACov.
 
void evalPointToDbAsSP (VectorDouble &values, const std::vector< SpacePoint > &p1s, const SpacePoint &p2, int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const
 Call the method ACov::evalPointToDbAsSP of the object ACov.
 
double evalAverageDbToDb (const Db *db1, const Db *db2, int ivar=0, int jvar=0, double eps=0., int seed=434132, const CovCalcMode *mode=nullptr) const
 Call the method ACov::evalAverageDbToDb of the object ACov.
 
double evalAverageIncrToIncr (const VectorVectorDouble &d1, const VectorVectorDouble &d2, int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const
 Call the method ACov::evalAverageIncrToIncr of the object ACov.
 
double evalAveragePointToDb (const SpacePoint &p1, const Db *db2, int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const
 Call the method ACov::evalAveragePointToDb of the object ACov.
 
double samplingDensityVariance (const Db *db, const VectorDouble &ext, const VectorInt &ndisc, const VectorDouble &angles=VectorDouble(), const VectorDouble &x0=VectorDouble(), int ivar=0, int jvar=0) const
 Call the method ACov::samplingDensityVariance of the object ACov.
 
double specificVolume (const Db *db, double mean, const VectorDouble &ext, const VectorInt &ndisc, const VectorDouble &angles=VectorDouble(), const VectorDouble &x0=VectorDouble(), int ivar=0, int jvar=0) const
 Call the method ACov::specificVolume of the object ACov.
 
double coefficientOfVariation (const Db *db, double volume, double mean, const VectorDouble &ext, const VectorInt &ndisc, const VectorDouble &angles=VectorDouble(), const VectorDouble &x0=VectorDouble(), int ivar=0, int jvar=0) const
 Call the method ACov::coefficientOfVariation of the object ACov.
 
double specificVolumeFromCoV (Db *db, double cov, double mean, const VectorDouble &ext, const VectorInt &ndisc, const VectorDouble &angles=VectorDouble(), const VectorDouble &x0=VectorDouble(), int ivar=0, int jvar=0) const
 Call the method ACov::specificVolumeFromCoV of the object ACov.
 
double extensionVariance (const Db *db, const VectorDouble &ext, const VectorInt &ndisc, const VectorDouble &angles=VectorDouble(), const VectorDouble &x0=VectorDouble(), int ivar=0, int jvar=0) const
 Call the method ACov::extensionVariance of the object ACov.
 
double calculateStDev (Db *db1, int iech1, Db *db2, int iech2, bool verbose=false, double factor=1., const CovCalcMode *mode=nullptr) const
 Call the method ACov::calculateStDev of the object ACov.
 
void evaluateMatInPlace (const CovInternal *covint, const VectorDouble &d1, MatrixSquare &covtab, bool flag_init=false, double weight=1., const CovCalcMode *mode=nullptr) const
 Call the method ACov::evaluateMatInPlace of the object ACov.
 
double evaluateOneGeneric (const CovInternal *covint, const VectorDouble &d1=VectorDouble(), double weight=1., const CovCalcMode *mode=nullptr) const
 Call the method ACov::evaluateOneGeneric of the object ACov.
 
double evaluateOneIncr (double hh, const VectorDouble &codir=VectorDouble(), int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const
 Call the method ACov::evaluateOneIncr of the object ACov.
 
int buildVmapOnDbGrid (DbGrid *dbgrid, const NamingConvention &namconv=NamingConvention("VMAP")) const
 Call the method ACov::buildVmapOnDbGrid of the object ACov.
 
VectorDouble sample (const VectorDouble &h, const VectorDouble &codir=VectorDouble(), int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr, const CovInternal *covint=nullptr) const
 Call the method ACov::sample of the object ACov.
 
VectorDouble sampleUnitary (const VectorDouble &hh, int ivar=0, int jvar=0, VectorDouble codir=VectorDouble(), const CovCalcMode *mode=nullptr) const
 Call the method ACov::sampleUnitary of the object ACov.
 
VectorDouble envelop (const VectorDouble &hh, int ivar=0, int jvar=0, int isign=1, VectorDouble codir=VectorDouble(), const CovCalcMode *mode=nullptr) const
 Call the method ACov::envelop of the object ACov.
 
double gofToVario (const Vario *vario, bool verbose=true) const
 Call the method ACov::gofToVario of the object ACov.
 
bool isNoStat () const
 Call the method ACov::isNoStat of the object ACov.
 
void manage (const Db *db1, const Db *db2) const
 Call the method ACov::manage of the object ACov.
 
void optimizationPreProcessForData (const Db *db1=nullptr) const
 Call the method ACov::optimizationPreProcessForData of the object ACov.
 
void optimizationPostProcess () const
 Call the method ACov::optimizationPostProcess of the object ACov.
 
const ADriftgetDrift (int il) const
 Call the method DriftList::getDrift of the object DriftList.
 
double computeDrift (const Db *db, int ib, int iech) const
 Call the method DriftList::computeDrift of the object DriftList.
 
double evalDriftValue (const Db *db, int iech, int ivar, int ib, const ECalcMember &member=ECalcMember::fromKey("LHS")) const
 Call the method DriftList::evalDriftValue of the object DriftList.
 
MatrixDense evalDriftMat (const Db *db, const VectorInt &nbgh=VectorInt(), const ECalcMember &member=ECalcMember::fromKey("LHS")) const
 Call the method DriftList::evalDriftMat of the object DriftList.
 
int evalDriftMatInPlace (MatrixDense &mat, const Db *db, const VectorInt &nbgh=VectorInt(), const ECalcMember &member=ECalcMember::fromKey("LHS")) const
 Call the method DriftList::evalDriftMatInPlace of the object DriftList.
 
MatrixDense evalDriftMatByRanks (const Db *db, const VectorVectorInt &sampleRanks=VectorVectorInt(), const ECalcMember &member=ECalcMember::fromKey("LHS")) const
 Call the method DriftList::evalDriftMatByRanks of the object DriftList.
 
VectorDouble evalMeanVecByRanks (const Db *db, const VectorVectorInt &sampleRanks=VectorVectorInt()) const
 Call the method DriftList::evalMeanVecByRanks of the object DriftList.
 
int evalDriftMatByRanksInPlace (MatrixDense &mat, const Db *db, const VectorVectorInt &sampleranks=VectorVectorInt(), const ECalcMember &member=ECalcMember::fromKey("LHS")) const
 Call the method DriftList::evalDriftMatByRanksInPlace of the object DriftList.
 
int evalDriftMatByTargetInPlace (MatrixDense &mat, const Db *db, int iech2, const KrigOpt &krigopt=KrigOpt()) const
 Call the method DriftList::evalDriftMatByTargetInPlace of the object DriftList.
 
int getNDrift () const
 Call the method DriftList::getNDrift of the object DriftList.
 
int getNDriftEquation () const
 Call the method DriftList::getNDriftEquation of the object DriftList.
 
int getNExtDrift () const
 Call the method DriftList::getNExtDrift of the object DriftList.
 
bool isFlagLinked () const
 Call the method DriftList::isFlagLinked of the object DriftList.
 
int getDriftMaxIRFOrder () const
 Call the method DriftList::getDriftMaxIRFOrder of the object DriftList.
 
int getRankFex (int il) const
 Call the method DriftList::getRankFex of the object DriftList.
 
bool isDriftSampleDefined (const Db *db, int ib, int nech, const VectorInt &nbgh, const ELoc &loctype) const
 Call the method DriftList::isDriftSampleDefined of the object DriftList.
 
bool isDriftFiltered (int i) const
 Call the method DriftList::isDriftFiltered of the object DriftList.
 
bool isDriftDefined (const VectorInt &powers, int rank_fex=0) const
 Call the method DriftList::isDriftDefined of the object DriftList.
 
bool isDriftDifferentDefined (const VectorInt &powers, int rank_fex=-1) const
 Call the method DriftList::isDriftDifferentDefined of the object DriftList.
 
VectorVectorDouble getDrifts (const Db *db, bool useSel=true) const
 Call the method DriftList::getDrifts of the object DriftList.
 
double evalDrift (const Db *db, int iech, int il, const ECalcMember &member=ECalcMember::fromKey("LHS")) const
 Call the method DriftList::evalDrift of the object DriftList.
 
VectorDouble evalDriftBySample (const Db *db, int iech, const ECalcMember &member=ECalcMember::fromKey("LHS")) const
 Call the method DriftList::evalDriftBySample of the object DriftList.
 
void evalDriftBySampleInPlace (const Db *db, int iech, const ECalcMember &member, VectorDouble &drftab) const
 Call the method DriftList::evalDriftBySampleInPlace of the object DriftList.
 
double evalDriftCoef (const Db *db, int iech, const VectorDouble &coeffs) const
 Call the method DriftList::evalDriftCoef of the object DriftList.
 
bool hasDrift () const
 Call the method DriftList::hasDrift of the object DriftList.
 
double getMean (int ivar) const
 Call the method DriftList::getMean of the object DriftList.
 
const VectorDoublegetMeans () const
 Call the method DriftList::getMeans of the object DriftList.
 
double evalDriftVarCoef (const Db *db, int iech, int ivar, const VectorDouble &coeffs) const
 Call the method DriftList::evalDriftVarCoef of the object DriftList.
 
VectorDouble evalDriftVarCoefs (const Db *db, const VectorDouble &coeffs, bool useSel=false) const
 Call the method DriftList::evalDriftVarCoefs of the object DriftList.
 
int getNVar () const
 Call the method CovContext::getNVar of the object CovContext.
 
unsigned int getNDim (int ispace=-1) const
 Call the method CovContext::getNDim of the object CovContext.
 
ASpaceSharedPtr getSpace () const
 Call the method CovContext::getSpace of the object CovContext.
 
const VectorDoublegetCovar0 () const
 Call the method CovContext::getCovar0 of the object CovContext.
 
double getField () const
 Call the method CovContext::getField of the object CovContext.
 
virtual void setOptimEnabled (bool enabled) const
 Call the method ACov::setOptimEnabled of the object ACov.
 
void attachNoStatDb (const Db *db)
 Call the method ACov::attachNoStatDb of the object ACov.
 
void makeStationary ()
 Call the method ACov::makeStationary of the object ACov.
 
void setContext (const CovContext &ctxt)
 Call the method ACov::setContext of the object ACov.
 
std::vector< double > evalCovGrad (const SpacePoint &p1, const SpacePoint &p2, int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr)
 Call the method ACov::evalCovGrad of the object ACov.
 
void setFlagLinked (bool flagLinked)
 Call the method DriftList::setFlagLinked of the object DriftList.
 
void setBetaHat (const VectorDouble &betaHat)
 Call the method DriftList::setBetaHat of the object DriftList.
 
void setFiltered (const VectorBool &filtered)
 Call the method DriftList::setFiltered of the object DriftList.
 
void delDrift (unsigned int rank)
 Call the method DriftList::delDrift of the object DriftList.
 
void delAllDrifts ()
 Call the method DriftList::delAllDrifts of the object DriftList.
 
void copyCovContext (const CovContext &ctxt)
 Call the method DriftList::copyCovContext of the object DriftList.
 
void setMeans (const VectorDouble &mean)
 Call the method DriftList::setMeans of the object DriftList.
 
void setMean (const double mean, int ivar=0)
 Call the method DriftList::setMean of the object DriftList.
 
void setField (double field)
 Call the method CovContext::setField of the object CovContext.
 
void setCovar0s (const VectorDouble &covar0)
 Call the method CovContext::setCovar0s of the object CovContext.
 
void setCovar0 (int ivar, int jvar, double covar0)
 Call the method CovContext::setCovar0 of the object CovContext.
 
- Public Member Functions inherited from ICloneable
 ICloneable ()
 
virtual ~ICloneable ()
 
virtual ICloneableclone () const =0
 
std::shared_ptr< ICloneablecloneShared () const
 
std::unique_ptr< ICloneablecloneUnique () const
 

Static Public Member Functions

static Modelcreate (const CovContext &ctxt=CovContext())
 
static ModelcreateFromEnvironment (int nvar, int ndim=2)
 
static ModelcreateNugget (int nvar, int ndim=2, double sill=1.)
 
static ModelcreateFromParam (const ECov &type=ECov::fromKey("NUGGET"), double range=1., double sill=1., double param=1., const VectorDouble &ranges=VectorDouble(), const MatrixSymmetric &sills=MatrixSymmetric(), const VectorDouble &angles=VectorDouble(), const ASpaceSharedPtr &space=ASpaceSharedPtr(), bool flagRange=true)
 
static ModelcreateFromParamOldStyle (const ECov &type=ECov::fromKey("NUGGET"), double range=1., double sill=1., double param=1., const VectorDouble &ranges=VectorDouble(), const VectorDouble &sills=VectorDouble(), const VectorDouble &angles=VectorDouble(), const ASpaceSharedPtr &space=ASpaceSharedPtr(), bool flagRange=true)
 
static ModelcreateFromDb (const Db *db)
 
static ModelcreateFromNF (const String &NFFilename, bool verbose=true)
 
static ModelcreateFromVario (Vario *vario, const VectorECov &types=ECov::fromKeys({"SPHERICAL"}), const Constraints &constraints=Constraints(), const Option_VarioFit &optvar=Option_VarioFit(), const Option_AutoFit &mauto=Option_AutoFit(), bool verbose=false)
 
static ModelcreateFillRandom (int ndim, int nvar, const std::vector< ECov > &types=ECov::fromKeys({"SPHERICAL"}), double hmax=1, int order=-1, int nfex=0, int seed=13242)
 
static void gofDisplay (double gof, bool byValue=true, const VectorDouble &thresholds={2., 5., 10., 100})
 
static VectorECov initCovList (const VectorInt &covranks)
 
- Static Public Member Functions inherited from ASerializable
static String buildFileName (int status, const String &filename, bool ensureDirExist=false)
 
static String getFileIdentity (const String &filename, bool verbose=false)
 
static void setPrefixName (const String &prefixName)
 
static void unsetPrefixName ()
 
static const String & getPrefixName ()
 
- Static Public Member Functions inherited from ModelGeneric
static ListParamscreateListParams (std::shared_ptr< ListParams > &lp)
 

Constructor & Destructor Documentation

◆ Model() [1/3]

Model::Model ( const CovContext ctxt = CovContext())

◆ Model() [2/3]

Model::Model ( int  nvar,
int  ndim = 2 
)

◆ Model() [3/3]

Model::Model ( const Model m)

◆ ~Model()

Model::~Model ( )
virtual

Member Function Documentation

◆ _castInCovAnisoList()

CovAnisoList * Model::_castInCovAnisoList ( int  icov = -1)

◆ _castInCovLMCAnamorphosis()

CovLMCAnamorphosis * Model::_castInCovLMCAnamorphosis ( )

◆ _castInCovLMCTapering()

CovLMCTapering * Model::_castInCovLMCTapering ( )

◆ _castInCovLMGradient()

CovLMGradient * Model::_castInCovLMGradient ( )

◆ addCovAniso()

void Model::addCovAniso ( const CovAniso cov)

◆ addCovFromParam()

void Model::addCovFromParam ( const ECov &  type,
double  range = EPSILON6,
double  sill = 1.,
double  param = 1.,
const VectorDouble ranges = VectorDouble(),
const MatrixSymmetric sills = MatrixSymmetric(),
const VectorDouble angles = VectorDouble(),
bool  flagRange = true 
)

◆ addCovFromParamOldStyle()

void Model::addCovFromParamOldStyle ( const ECov &  type,
double  range = EPSILON6,
double  sill = 1.,
double  param = 1.,
const VectorDouble ranges = VectorDouble(),
const VectorDouble sills = VectorDouble(),
const VectorDouble angles = VectorDouble(),
bool  flagRange = true 
)

◆ castInCovAnisoListConst()

const CovAnisoList * Model::castInCovAnisoListConst ( int  icov = -1) const

This internal function tries to cast the member '_cova' into a pointer to CovAnisoList and checks the validity of the argument 'icov' which gives the rank within this list

Parameters
icovRank of the CovAniso (to be checked if >= 0)
Returns
'nullptr' if not valid cast (the error message is printed internally)

◆ castInCovLMCAnamorphosisConst()

const CovLMCAnamorphosis * Model::castInCovLMCAnamorphosisConst ( ) const

◆ castInCovLMCTaperingConst()

const CovLMCTapering * Model::castInCovLMCTaperingConst ( ) const

◆ castInCovLMGradientConst()

const CovLMGradient * Model::castInCovLMGradientConst ( ) const

◆ create()

Model * Model::create ( const CovContext ctxt = CovContext())
static

◆ createFillRandom()

Model * Model::createFillRandom ( int  ndim,
int  nvar,
const std::vector< ECov > &  types = ECov::fromKeys({"SPHERICAL"}),
double  hmax = 1,
int  order = -1,
int  nfex = 0,
int  seed = 13242 
)
static

◆ createFromDb()

Model * Model::createFromDb ( const Db db)
static

◆ createFromEnvironment()

Model * Model::createFromEnvironment ( int  nvar,
int  ndim = 2 
)
static

◆ createFromNF()

Model * Model::createFromNF ( const String &  NFFilename,
bool  verbose = true 
)
static

◆ createFromParam()

Model * Model::createFromParam ( const ECov &  type = ECov::fromKey("NUGGET"),
double  range = 1.,
double  sill = 1.,
double  param = 1.,
const VectorDouble ranges = VectorDouble(),
const MatrixSymmetric sills = MatrixSymmetric(),
const VectorDouble angles = VectorDouble(),
const ASpaceSharedPtr &  space = ASpaceSharedPtr(),
bool  flagRange = true 
)
static

◆ createFromParamOldStyle()

Model * Model::createFromParamOldStyle ( const ECov &  type = ECov::fromKey("NUGGET"),
double  range = 1.,
double  sill = 1.,
double  param = 1.,
const VectorDouble ranges = VectorDouble(),
const VectorDouble sills = VectorDouble(),
const VectorDouble angles = VectorDouble(),
const ASpaceSharedPtr &  space = ASpaceSharedPtr(),
bool  flagRange = true 
)
static

◆ createFromVario()

Model * Model::createFromVario ( Vario vario,
const VectorECov &  types = ECov::fromKeys({"SPHERICAL"}),
const Constraints constraints = Constraints(),
const Option_VarioFit optvar = Option_VarioFit(),
const Option_AutoFit mauto = Option_AutoFit(),
bool  verbose = false 
)
static

◆ createNugget()

Model * Model::createNugget ( int  nvar,
int  ndim = 2,
double  sill = 1. 
)
static

◆ createReduce()

Model * Model::createReduce ( const VectorInt validVars) const

◆ duplicate()

Model * Model::duplicate ( ) const

◆ evalCovFromIncr()

double Model::evalCovFromIncr ( const VectorDouble incr,
int  icov = 0,
const ECalcMember &  member = ECalcMember::fromKey("LHS") 
) const

◆ evalZAndGradients()

void Model::evalZAndGradients ( const SpacePoint p1,
const SpacePoint p2,
double &  covVal,
VectorDouble covGp,
VectorDouble covGG,
const CovCalcMode mode = nullptr,
bool  flagGrad = false 
) const

Call the method CovLMGradient::evalZAndGradients of the object CovLMGradient.

◆ extractCova()

CovAniso Model::extractCova ( int  icov) const

Call the method CovAnisoList::extractCova of the object CovAnisoList.

◆ fit()

int Model::fit ( Vario vario,
const VectorECov &  types = ECov::fromKeys({"SPHERICAL"}),
const Constraints constraints = Constraints(),
const Option_VarioFit optvar = Option_VarioFit(),
const Option_AutoFit mauto = Option_AutoFit(),
bool  verbose = false 
)

Automatic Fitting procedure from an experimental Variogram

Parameters
varioExperimental variogram to be fitted
typesVector of ECov (see remarks)
constraintsSet of Constraints
optvarSet of options
mautoSpecial parameters for Automatic fitting procedure (instance of Option_AutoFit), for exemple wmode (type of weighting function)
verboseVerbose option
Remarks
If no list of specific basic structure is specified, the automatic fitting is performed using a single spherical structure by default.
Returns
0 if no error, 1 otherwise

TODO : What to do with that ?

◆ fitFromCovIndices()

int Model::fitFromCovIndices ( Vario vario,
const VectorECov &  types = ECov::fromKeys({"EXPONENTIAL"}),
const Constraints constraints = Constraints(),
const Option_VarioFit optvar = Option_VarioFit(),
const Option_AutoFit mauto = Option_AutoFit(),
bool  verbose = false 
)

Automatic Fitting procedure

Parameters
varioExperimental variogram to be fitted
typesVector of ECov integer values
constraintsSet of Constraints
optvarSet of options
mautoSpecial parameters for Automatic fitting procedure
verboseVerbose option
Returns
0 if no error, 1 otherwise

TODO : What to do with that ?

◆ fitFromVMap()

int Model::fitFromVMap ( DbGrid dbmap,
const VectorECov &  types = ECov::fromKeys({"SPHERICAL"}),
const Constraints constraints = Constraints(),
const Option_VarioFit optvar = Option_VarioFit(),
const Option_AutoFit mauto = Option_AutoFit(),
bool  verbose = false 
)

Automatic Fitting procedure from A Variogram Map stored on a DbGrid

Parameters
dbmapDbGrid containing the Variogram Map
typesVector of ECov
constraintsSet of Constraints
optvarSet of options
mautoSpecial parameters for Automatic fitting procedure (instance of Option_AutoFit), for exemple wmode (type of weighting function)
verboseVerbose option
Returns
0 if no error, 1 otherwise

◆ getActiveFactor()

virtual int Model::getActiveFactor ( ) const
virtual

Call the method CovAnisoList::getActiveFactor of the object CovAnisoList.

◆ getAnam()

virtual const AAnam * Model::getAnam ( ) const
virtual

Call the method CovAnisoList::getAnam of the object CovAnisoList.

◆ getAnamHermite()

const AnamHermite * Model::getAnamHermite ( ) const

Call the method CovAnisoList::getAnamHermite of the object CovAnisoList.

◆ getAnamNClass()

virtual int Model::getAnamNClass ( ) const
virtual

Call the method CovAnisoList::getAnamNClass of the object CovAnisoList.

◆ getAngles()

VectorDouble Model::getAngles ( int  icov) const

Call the method CovAnisoList::getAngles of the object CovAnisoList.

◆ getBallRadius()

double Model::getBallRadius ( ) const

Call the method CovAnisoList::getBallRadius of the object CovAnisoList.

◆ getCovAniso() [1/2]

const CovAniso * Model::getCovAniso ( int  icov) const

Call the method CovAnisoList::getCovAniso of the object CovAnisoList.

◆ getCovAniso() [2/2]

const CovAniso * Model::getCovAniso ( int  icov) const

Call the method CovAnisoList::getCovAniso of the object CovAnisoList.

◆ getCovAnisoList()

const CovAnisoList * Model::getCovAnisoList ( ) const

TODO : to be removed (encapsulation of CovAnisoList)

◆ getCovAnisoListModify()

CovAnisoList * Model::getCovAnisoListModify ( )

◆ getCovMinIRFOrder()

int Model::getCovMinIRFOrder ( ) const

Call the method CovAnisoList::getCovMinIRFOrder of the object CovAnisoList.

◆ getCovMode()

const EModelProperty & Model::getCovMode ( ) const

Call the method CovAnisoList::getCovMode of the object CovAnisoList.

◆ getCovName()

String Model::getCovName ( int  icov) const
override

Call the method CovAnisoList::getCovName of the object CovAnisoList.

◆ getCovType()

const ECov & Model::getCovType ( int  icov) const
override

Call the method CovAnisoList::getCovType of the object CovAnisoList.

◆ getMaximumDistance()

double Model::getMaximumDistance ( ) const

Call the method CovAnisoList::getMaximumDistance of the object CovAnisoList.

◆ getNCov()

int Model::getNCov ( bool  skipNugget = false) const

Call the method CovAnisoList::getNCov of the object CovAnisoList.

◆ getNGradParam()

int Model::getNGradParam ( int  icov) const

Call the method CovAnisoList::getNGradParam of the object CovAnisoList.

◆ getNVar()

int Model::getNVar ( ) const

◆ getParam()

double Model::getParam ( int  icov) const

Call the method CovAnisoList::getParam of the object CovAnisoList.

◆ getRange()

double Model::getRange ( int  icov) const

Call the method CovAnisoList::getRange of the object CovAnisoList.

◆ getRanges()

VectorDouble Model::getRanges ( int  icov) const

Call the method CovAnisoList::getRanges of the object CovAnisoList.

◆ getRankNugget()

int Model::getRankNugget ( ) const

Call the method CovAnisoList::getRankNugget of the object CovAnisoList.

◆ gofDisplay()

void Model::gofDisplay ( double  gof,
bool  byValue = true,
const VectorDouble thresholds = {2., 5., 10., 100} 
)
static

◆ hasAnam()

virtual bool Model::hasAnam ( ) const
virtual

Call the method CovAnisoList::hasAnam of the object CovAnisoList.

◆ hasExternalCov()

int Model::hasExternalCov ( ) const

Call the method CovAnisoList::hasExternalCov of the object CovAnisoList.

◆ hasNugget()

bool Model::hasNugget ( ) const

Call the method CovAnisoList::hasNugget of the object CovAnisoList.

◆ initCovList()

VectorECov Model::initCovList ( const VectorInt covranks)
static

◆ isChangeSupportDefined()

bool Model::isChangeSupportDefined ( ) const

Call the method CovAnisoList::isChangeSupportDefined of the object CovAnisoList.

◆ isFlagGradient()

bool Model::isFlagGradient ( ) const

◆ isFlagGradientFunctional()

bool Model::isFlagGradientFunctional ( ) const

◆ isFlagGradientNumerical()

bool Model::isFlagGradientNumerical ( ) const

◆ isValid()

bool Model::isValid ( ) const

◆ makeAngleNoStatDb()

void Model::makeAngleNoStatDb ( int  icov,
const String &  namecol,
int  idim = 0 
)

Call the method CovAnisoList::makeAngleNoStatDb of the object CovAnisoList.

◆ makeAngleNoStatFunctional()

void Model::makeAngleNoStatFunctional ( int  icov,
const AFunctional func,
int  idim = 0 
)

Call the method CovAnisoList::makeAngleNoStatFunctional of the object CovAnisoList.

◆ makeAngleStationary()

void Model::makeAngleStationary ( int  icov,
int  idim = 0 
)

Call the method CovAnisoList::makeAngleStationary of the object CovAnisoList.

◆ makeParamNoStatDb()

void Model::makeParamNoStatDb ( int  icov,
const String &  namecol 
)

Call the method CovAnisoList::makeParamNoStatDb of the object CovAnisoList.

◆ makeParamNoStatFunctional()

void Model::makeParamNoStatFunctional ( int  icov,
const AFunctional func 
)

Call the method CovAnisoList::makeParamNoStatFunctional of the object CovAnisoList.

◆ makeParamStationary()

void Model::makeParamStationary ( int  icov)

Call the method CovAnisoList::makeParamStationary of the object CovAnisoList.

◆ makeRangeNoStatDb()

void Model::makeRangeNoStatDb ( int  icov,
const String &  namecol,
int  idim = 0 
)

Call the method CovAnisoList::makeRangeNoStatDb of the object CovAnisoList.

◆ makeRangeNoStatFunctional()

void Model::makeRangeNoStatFunctional ( int  icov,
const AFunctional func,
int  idim = 0 
)

Call the method CovAnisoList::makeRangeNoStatFunctional of the object CovAnisoList.

◆ makeRangeStationary()

void Model::makeRangeStationary ( int  icov,
int  idim = 0 
)

Call the method CovAnisoList::makeRangeStationary of the object CovAnisoList.

◆ makeScaleNoStatDb()

void Model::makeScaleNoStatDb ( int  icov,
const String &  namecol,
int  idim = 0 
)

Call the method CovAnisoList::makeScaleNoStatDb of the object CovAnisoList.

◆ makeScaleNoStatFunctional()

void Model::makeScaleNoStatFunctional ( int  icov,
const AFunctional func,
int  idim = 0 
)

Call the method CovAnisoList::makeScaleNoStatFunctional of the object CovAnisoList.

◆ makeScaleStationary()

void Model::makeScaleStationary ( int  icov,
int  idim = 0 
)

Call the method CovAnisoList::makeScaleStationary of the object CovAnisoList.

◆ makeTensorNoStatDb()

void Model::makeTensorNoStatDb ( int  icov,
const String &  namecol,
int  idim = 0,
int  jdim = 0 
)

Call the method CovAnisoList::makeTensorNoStatDb of the object CovAnisoList.

◆ makeTensorNoStatFunctional()

void Model::makeTensorNoStatFunctional ( int  icov,
const AFunctional func,
int  idim = 0,
int  jdim = 0 
)

◆ makeTensorStationary()

void Model::makeTensorStationary ( int  icov,
int  idim,
int  jdim 
)

Call the method CovAnisoList::makeTensorStationary of the object CovAnisoList.

◆ operator=()

Model & Model::operator= ( const Model m)

◆ resetFromDb()

int Model::resetFromDb ( const Db db)

◆ setActiveFactor()

virtual void Model::setActiveFactor ( int  )
virtual

Call the method CovAnisoList::setActiveFactor of the object CovAnisoList.

◆ setAnam()

int Model::setAnam ( const AAnam anam,
const VectorInt strcnt = VectorInt() 
)

Defining an Anamorphosis information for the Model (in fact, this is added to CovAnisoList part and transforms it from CovAnisoList to CovLMCAnamorphosis

Parameters
anamPointer to the anamorphosis
strcntArray of covariance description used for IR case
Returns

◆ setCovAnisoList()

void Model::setCovAnisoList ( const CovAnisoList covalist)

Add a list of Covariances. This operation cleans any previously stored covariance

Parameters
covalistList of Covariances to be added

◆ setMarkovCoeffs()

void Model::setMarkovCoeffs ( int  icov,
const VectorDouble coeffs 
)

Call the method CovAnisoList::setMarkovCoeffs of the object CovAnisoList.

◆ setRangeIsotropic()

void Model::setRangeIsotropic ( int  icov,
double  range 
)

Call the method CovAnisoList::setRangeIsotropic of the object CovAnisoList.

◆ setTapeRange()

void Model::setTapeRange ( double  range)

Call the method CovLMCTapering::setTapeRange of the object CovLMCTapering.

◆ stabilize()

int Model::stabilize ( double  percent,
bool  verbose = false 
)

Stabilize the model (in the monovariate case)

Returns
Error returned code
Parameters
[in]percentPercentage of nugget effect added
[in]verbosetrue for a verbose output
Remarks
If the model only contains GAUSSIAN structures, add
a NUGGET EFFECT structure with a sill equal to a percentage
of the total sill of the GAUSSIAN component(s)
This function does not do anything in the multivariate case

◆ standardize()

int Model::standardize ( bool  verbose = false)

Normalize the model

Parameters
[in]verbosetrue for a verbose output

◆ switchToGradient()

void Model::switchToGradient ( )

Switch to a Model dedicated to Gradients (transforms it from CovAnisoList to CovLMGradient)

◆ toString()

String Model::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

ICloneable interface.

AStringable Interface

Reimplemented from AStringable.

◆ unsetAnam()

int Model::unsetAnam ( )

The documentation for this class was generated from the following files: