1.8.0
CCC
 
Loading...
Searching...
No Matches
gstlrn::ACovGradient Class Referenceabstract

#include <ACovGradient.hpp>

Inheritance diagram for gstlrn::ACovGradient:
gstlrn::CovAniso gstlrn::CovProportional gstlrn::CovBase gstlrn::ACov gstlrn::ICloneable gstlrn::AStringable gstlrn::CovGradientFunctional gstlrn::CovGradientNumerical

Detailed Description

Class dedicated to manipulating a variables and its derivatives. This feature is limited to the monovariate case

Public Member Functions

 ACovGradient (const ECov &type, const CovContext &ctxt)
 
 ACovGradient (const ACovGradient &r)
 
 ACovGradient (const CovAniso &r)
 
ACovGradientoperator= (const ACovGradient &r)
 
virtual ~ACovGradient ()
 
virtual void evalZAndGradients (const SpacePoint &p1, const SpacePoint &p2, double &covVal, 1 &covGp, 1 &covGG, const CovCalcMode *mode=nullptr, bool flagGrad=false) const =0
 
- Public Member Functions inherited from gstlrn::CovAniso
 CovAniso (const ECov &type, const CovContext &ctxt)
 
 CovAniso (const String &symbol, const CovContext &ctxt)
 
 CovAniso (const ECov &type, double range, double param, double sill, const CovContext &ctxt, bool flagRange=true)
 
 CovAniso (const CovAniso &r)
 
CovAnisooperator= (const CovAniso &r)
 
virtual ~CovAniso ()
 
String toString (const AStringFormat *strfmt=nullptr) const override
 ICloneable Interface.
 
double eval0 (Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const override
 ASpaceObject Interface.
 
double evalCovOnSphere (double alpha, Id degree=50, bool flagScaleDistance=true, const CovCalcMode *mode=nullptr) const override
 
 evalSpectrumOnSphere (Id n, bool flagNormDistance=false, bool flagCumul=false) const override
 
double evalSpectrum (const 1 &freq, Id ivar=0, Id jvar=0) const override
 
virtual double getIntegralRange (Id ndisc, double hmax) const
 
virtual String getFormula () const
 
virtual double getBallRadius () const
 
double getSlope (Id ivar, Id jvar) const
 
const RotationgetAnisoRotation () const
 
bool getFlagAniso () const
 
bool getFlagRotation () const
 
const & getAnisoAngles () const
 
const MatrixSquaregetAnisoRotMat () const
 
const MatrixSquaregetAnisoInvMat () const
 
double getAnisoAngle (Id idim) const
 
double getAnisoRotMatElement (Id idim, Id jdim) const
 
double getAnisoCoeff (Id idim) const
 
const CovContextgetContext () const
 
String getCovName () const
 
bool isIsotropic () const
 
bool isAsymptotic () const
 
bool hasRotation () const
 
const TensorgetAniso () const
 
void setAniso (const Tensor &aniso)
 
const ACovFuncgetCorFunc () const
 
 evalCovOnSphereVec (const 1 &alpha, Id degree=50, bool flagScaleDistance=false, const CovCalcMode *mode=nullptr) const
 
Array evalCovFFT (const 1 &hmax, Id N=128, Id ivar=0, Id jvar=0) const
 
Id getNDim () const
 
const CorAnisogetCorAniso () const
 
CorAnisogetCorAnisoModify ()
 
CovAnisocreateReduce (const 1 &validVars) const
 
bool _isOptimEnabled () const override
 
std::vector< ParamInfo > & getScalesParam ()
 
std::vector< ParamInfo > & getAnglesParam ()
 
double _getSillValue (Id ivar, Id jvar, const CovCalcMode *mode) const
 
double _eval (const SpacePoint &p1, const SpacePoint &p2, Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const override
 
double getScaleIso () const
 Call the method CorAniso::getScaleIso of the object CorAniso.
 
double getScale (Id idim) const
 Call the method CorAniso::getScale of the object CorAniso.
 
bool isValidForTurningBand () const
 Call the method CorAniso::isValidForTurningBand of the object CorAniso.
 
double simulateTurningBand (double t0, TurningBandOperate &operTB) const
 Call the method CorAniso::simulateTurningBand of the object CorAniso.
 
bool isValidForSpectral () const
 Call the method CorAniso::isValidForSpectral of the object CorAniso.
 
MatrixDense simulateSpectralOmega (Id nb) const
 Call the method CorAniso::simulateSpectralOmega of the object CorAniso.
 
 getRanges () const
 Call the method CorAniso::getRanges of the object CorAniso.
 
double getScale (Id idim) const
 Call the method CorAniso::getScales of the object CorAniso.
 
double getRangeIso () const
 Call the method CorAniso::getRangeIso of the object CorAniso.
 
double getRange (Id idim) const
 Call the method CorAniso::getRange of the object CorAniso.
 
 getAnisoCoeffs () const
 Call the method CorAniso::getAnisoCoeffs of the object CorAniso.
 
const ECov & getType () const
 Call the method CorAniso::getType of the object CorAniso.
 
double getParam () const
 Call the method CorAniso::getParam of the object CorAniso.
 
double getScadef () const
 Call the method CorAniso::getScadef of the object CorAniso.
 
double getParMax () const
 Call the method CorAniso::getParMax of the object CorAniso.
 
Id getMaxNDim () const
 Call the method CorAniso::getMaxNDim of the object CorAniso.
 
Id getMinOrder () const
 Call the method CorAniso::getMinOrder of the object CorAniso.
 
bool hasInt1D () const
 Call the method CorAniso::hasInt1D of the object CorAniso.
 
bool hasInt2D () const
 Call the method CorAniso::hasInt2D of the object CorAniso.
 
Id hasRange () const
 Call the method CorAniso::hasRange of the object CorAniso.
 
Id hasParam () const
 Call the method CorAniso::hasParam of the object CorAniso.
 
Id getNGradParam () const
 Call the method CorAniso::getNGradParam of the object CorAniso.
 
bool hasCovDerivative () const
 Call the method CorAniso::hasCovDerivative of the object CorAniso.
 
bool hasCovOnSphere () const
 Call the method CorAniso::hasCovOnSphere of the object CorAniso.
 
bool hasSpectrumOnSphere () const
 Call the method CorAniso::hasSpectrumOnSphere of the object CorAniso.
 
bool hasMarkovCoeffs () const
 Call the method CorAniso::hasMarkovCoeffs of the object CorAniso.
 
bool hasSpectrumOnRn () const
 Call the method CorAniso::hasSpectrumOnRn of the object CorAniso.
 
double normalizeOnSphere (Id n=50) const
 Call the method CorAniso::normalizeOnSphere of the object CorAniso.
 
 getMarkovCoeffs () const
 Call the method CorAniso::getMarkovCoeffs of the object CorAniso.
 
double getCorrec () const
 Call the method CorAniso::getCorrec of the object CorAniso.
 
double getFullCorrec () const
 Call the method CorAniso::getFullCorrec of the object CorAniso.
 
bool isNoStatForParam () const
 Call the method CorAniso::isNoStatForParam of the object CorAniso.
 
bool isNoStatForTensor () const
 Call the method CorAniso::isNoStatForTensor of the object CorAniso.
 
bool isNoStatForAnisotropy () const
 Call the method CorAniso::isNoStatForAnisotropy of the object CorAniso.
 
bool isNoStatForRotation () const
 Call the method CorAniso::isNoStatForRotation of the object CorAniso.
 
Id getNAngles () const
 Call the method CorAniso::getNAngles of the object CorAniso.
 
Id getNRanges () const
 Call the method CorAniso::getNRanges of the object CorAniso.
 
Id getNScales () const
 Call the method CorAniso::getNScales of the object CorAniso.
 
double getDetTensor () const
 Call the method CorAniso::getDetTensor of the object CorAniso.
 
void setParam (double param)
 Call the method CorAniso::setParam of the object CorAniso.
 
void computeMarkovCoeffs ()
 Call the method CorAniso::computeMarkovCoeffs of the object CorAniso.
 
void setRangeIsotropic (double range)
 Call the method CorAniso::setRangeIsotropic of the object CorAniso.
 
void setRange (Id idim, double range)
 Call the method CorAniso::setRange of the object CorAniso.
 
void setRanges (const 1 &ranges)
 Call the method CorAniso::setRanges of the object CorAniso.
 
void setScale (double scale)
 Call the method CorAniso::setScale of the object CorAniso.
 
void setScaleDim (Id idim, double scale)
 Make the covariance isotropic;.
 
void setScales (const 1 &scales)
 Call the method CorAniso::setScales of the object CorAniso.
 
void setAnisoRotationMat (const Rotation &rot)
 Call the method CorAniso::setAnisoRotationMat of the object CorAniso.
 
void setAnisoRotation (const 1 &rot)
 Call the method CorAniso::setAnisoRotation of the object CorAniso.
 
void setAnisoAngles (const 1 &angles)
 Call the method CorAniso::setAnisoAngles of the object CorAniso.
 
void setAnisoAngle (Id idim, double angle)
 Call the method CorAniso::setAnisoAngle of the object CorAniso.
 
void setRotationAnglesAndRadius (const 1 &angles=1(), const 1 &ranges=1(), const 1 &scales=1()) const
 Call the method CorAniso::setRotationAnglesAndRadius of the object CorAniso.
 
void setType (const ECov &type)
 Call the method CorAniso::setType of the object CorAniso.
 
void makeRangeNoStatDb (const String &namecol, Id idim=0, const Db *db=nullptr)
 Call the method CorAniso::makeRangeNoStatDb of the object CorAniso.
 
void makeScaleNoStatDb (const String &namecol, Id idim=0, const Db *db=nullptr)
 Call the method CorAniso::makeScaleNoStatDb of the object CorAniso.
 
void makeAngleNoStatDb (const String &namecol, Id idim=0, const Db *db=nullptr)
 Call the method CorAniso::makeAngleNoStatDb of the object CorAniso.
 
void makeTensorNoStatDb (const String &namecol, Id idim=0, Id jdim=0, const Db *db=nullptr)
 Call the method CorAniso::makeTensorNoStatDb of the object CorAniso.
 
void makeParamNoStatDb (const String &namecol, const Db *db=nullptr)
 Call the method CorAniso::makeParamNoStatDb of the object CorAniso.
 
void makeRangeNoStatFunctional (const AFunctional *func, Id idim=0)
 Call the method CorAniso::makeRangeNoStatFunctional of the object CorAniso.
 
void makeScaleNoStatFunctional (const AFunctional *func, Id idim=0)
 Call the method CorAniso::makeScaleNoStatFunctional of the object CorAniso.
 
void makeAngleNoStatFunctional (const AFunctional *func, Id idim=0)
 Call the method CorAniso::makeAngleNoStatFunctional of the object CorAniso.
 
void makeTensorNoStatFunctional (const AFunctional *func, Id idim=0, Id jdim=0)
 Call the method CorAniso::makeTensorNoStatFunctional of the object CorAniso.
 
void makeParamNoStatFunctional (const AFunctional *func)
 Call the method CorAniso::makeParamNoStatFunctional of the object CorAniso.
 
void makeRangeStationary (Id idim=0) const
 Call the method CorAniso::makeRangeStationary of the object CorAniso.
 
void makeScaleStationary (Id idim=0) const
 Call the method CorAniso::makeScaleStationary of the object CorAniso.
 
void makeAngleStationary (Id idim=0) const
 Call the method CorAniso::makeAngleStationary of the object CorAniso.
 
void makeTensorStationary (Id idim, Id jdim)
 Call the method CorAniso::makeTensorStationary of the object CorAniso.
 
void makeParamStationary ()
 Call the method CorAniso::makeParamStationary of the object CorAniso.
 
void setMarkovCoeffs (const 1 &coeffs)
 Call the method CorAniso::setMarkovCoeffs of the object CorAniso.
 
void setMarkovCoeffsBySquaredPolynomials (1 coeffs1, 1 coeffs2, double eps=0)
 Call the method CorAniso::setMarkovCoeffsBySquaredPolynomials of the object CorAniso.
 
void informDbInForAnisotropy (const Db *dbin) const
 Call the method CorAniso::informDbInForAnisotropy of the object CorAniso.
 
void informDbOutForAnisotropy (const Db *dbout) const
 Call the method CorAniso::informDbOutForAnisotropy of the object CorAniso.
 
void informMeshByMeshForAnisotropy (const AMesh *amesh) const
 Call the method CorAniso::informMeshByMeshForAnisotropy of the object CorAniso.
 
void informMeshByApexForAnisotropy (const AMesh *amesh) const
 Call the method CorAniso::informMeshByApexForAnisotropy of the object CorAniso.
 
void computeCorrec ()
 Call the method CorAniso::computeCorrec of the object CorAniso.
 
- Public Member Functions inherited from gstlrn::CovProportional
 CovProportional (ACov *cor=nullptr, const MatrixSymmetric &sills=MatrixSymmetric())
 
 CovProportional (const CovProportional &r)
 
CovProportionaloperator= (const CovProportional &r)
 
virtual ~CovProportional ()
 
void setCor (ACov *cor) override
 
- Public Member Functions inherited from gstlrn::CovBase
 CovBase (ACov *cor=nullptr, const MatrixSymmetric &sills=MatrixSymmetric())
 
 CovBase (const CovBase &r)
 
CovBaseoperator= (const CovBase &r)
 
virtual ~CovBase ()
 
bool isConsistent (const ASpace *space) const override
 
Id getNVar () const override
 ACov Interface.
 
bool isOptimizationInitialized (const Db *db=nullptr) const
 
void setCholSill (Id ivar, Id jvar, double val) const
 
virtual void setSill (double sill) const
 
virtual void setSill (const MatrixSymmetric &sill) const
 Only valid when there is only one variable (in the context)
 
virtual void setSill (const 1 &sill) const
 
virtual void setSill (Id ivar, Id jvar, double sill) const
 
void initSill (double value=0.)
 
const MatrixSymmetricgetSill () const
 
const ACovgetCor () const
 
ACovgetCorModify ()
 
double getSill (Id ivar, Id jvar) const
 
void makeSillNoStatDb (const String &namecol, Id ivar=0, Id jvar=0, const Db *db=nullptr)
 
void makeSillStationary (Id ivar=0, Id jvar=0)
 
void makeSillsStationary (bool silent=false)
 
void makeSillNoStatFunctional (const AFunctional *func, Id ivar=0, Id jvar=0)
 
TabNoStatSillsgetTabNoStatSills () const
 
Id getNSills () const
 
bool isNoStatForVariance () const
 
void informMeshByMesh (const AMesh *amesh) const
 
void informMeshByApex (const AMesh *amesh) const
 
 informCoords (const 1 &coords, const EConsElem &econs, Id iv1=0, Id iv2=0) const
 
void informDbIn (const Db *dbin) const
 
void informDbOut (const Db *dbout) const
 
void informMeshByMeshForSills (const AMesh *amesh) const
 
void informMeshByApexForSills (const AMesh *amesh) const
 
void informDbInForSills (const Db *dbin) const
 
void informDbOutForSills (const Db *dbout) const
 
void updateCovByPoints (Id icas1, Id iech1, Id icas2, Id iech2) const override
 Tell if the use of Optimization is enabled or not.
 
void updateCovByMesh (Id imesh, bool aniso=true) const override
 
double getValue (const EConsElem &econs, Id iv1, Id iv2) const override
 
void nostatUpdate (CovInternal *covint) const
 
Id addEvalCovVecRHSInPlace (vect vect, const 1 &index1, Id iech2, const KrigOpt &krigopt, SpacePoint &pin, SpacePoint &pout, 1 &tabwork, double lambda=1., const ECalcMember &calcMember=ECalcMember::RHS) const override
 
void setOptimEnabled (bool flag) const override
 
Id makeElemNoStat (const EConsElem &econs, Id iv1, Id iv2, const AFunctional *func=nullptr, const Db *db=nullptr, const String &namecol=String()) override
 
void appendParams (ListParams &listParams, std::vector< covmaptype > *gradFuncs=nullptr) override
 
void updateCov () override
 
void initParams (const MatrixSymmetric &vars, double href=1.) override
 
ParamInfogetParamInfoCholSills (Id ivar, Id jvar)
 
- Public Member Functions inherited from gstlrn::ACov
 ACov (const CovContext &ctxt=CovContext())
 
 ACov (const ACov &r)
 
ACovoperator= (const ACov &r)
 
virtual ~ACov ()
 
virtual bool isIndexable () const
 
bool isNoStat () const
 
const CovContextgetContext () const
 
void setContext (const CovContext &ctxt)
 
void updateFromContext ()
 
virtual void copyCovContext (const CovContext &ctxt)
 
void initFromContext ()
 
CovContext getContextCopy () const
 
double evalCov (const SpacePoint &p1, const SpacePoint &p2, Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const
 Calculate the covariance between two variables and two points (general case)
 
std::vector< double > evalCovGrad (const SpacePoint &p1, const SpacePoint &p2, Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr)
 
double evalZGNumeric (const SpacePoint &p1, const SpacePoint &p2, Id ivar, Id jvar, Id idim, double radius, const CovCalcMode *mode) const
 
double evalGGNumeric (const SpacePoint &p1, const SpacePoint &p2, Id ivar, Id jvar, Id idim, Id jdim, double radius, const CovCalcMode *mode) const
 
void attachNoStatDb (const Db *db)
 
ASpaceSharedPtr getSpace () const
 
virtual bool isOptimEnabled () const
 Functions linked to Optimization during Covariance calculations.
 
void optimizationPreProcess (Id mode, const std::vector< SpacePoint > &ps) const
 
SpacePointoptimizationLoadInPlace (Id iech, Id mode, Id rank) const
 
void optimizationPostProcess () const
 
void optimizationSetTarget (SpacePoint &pt) const
 
 eval (const std::vector< SpacePoint > &vec_p1, const std::vector< SpacePoint > &vec_p2, Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const
 Functions for evaluating Covariances.
 
MatrixSymmetric eval0Mat (const CovCalcMode *mode=nullptr) const
 
MatrixSymmetric evalCovMat0 (const Db *db, Id iech, const KrigOpt &krigopt=KrigOpt()) const
 Functions for evaluating Covariance Matrices either in place or not.
 
MatrixDense evalCovMat (const Db *db1, const Db *db2=nullptr, Id ivar0=-1, Id jvar0=-1, const 1 &nbgh1=1(), const 1 &nbgh2=1(), const CovCalcMode *mode=nullptr, bool cleanOptim=true) const
 
MatrixSymmetric evalCovMatSym (const Db *db1, const 1 &nbgh1=1(), Id ivar0=-1, const CovCalcMode *mode=nullptr, bool cleanOptim=true) const
 
MatrixSparseevalCovMatSparse (const Db *db1_arg, const Db *db2_arg=nullptr, Id ivar0=-1, Id jvar0=-1, const 1 &nbgh1=1(), const 1 &nbgh2=1(), const CovCalcMode *mode=nullptr, bool cleanOptim=true, double eps=EPSILON3) const
 
Id evalCovMat0InPlace (MatrixSymmetric &mat, const Db *db, Id iech, const KrigOpt &krigopt=KrigOpt()) const
 
Id evalCovMatInPlace (MatrixDense &mat, const Db *db1, const Db *db2=nullptr, Id ivar0=-1, Id jvar0=-1, const 1 &nbgh1=1(), const 1 &nbgh2=1(), const CovCalcMode *mode=nullptr, bool cleanOptim=true) const
 
Id evalCovMatSymInPlace (MatrixSymmetric &mat, const Db *db1, const 1 &nbgh1=1(), Id ivar0=-1, const CovCalcMode *mode=nullptr, bool cleanOptim=true) const
 
Id evalCovMatInPlaceFromIdx (MatrixDense &mat, const Db *db1, const Db *db2, const 1 &index1, const 1 &index2, const 1 &nbgh2=1(), const CovCalcMode *mode=nullptr, bool cleanOptim=true) const
 
Id evalCovMatSymInPlaceFromIdx (MatrixSymmetric &mat, const Db *db1, const 1 &index1, const CovCalcMode *mode=nullptr, bool cleanOptim=true) const
 
Id evalCovMatRHSInPlaceFromIdx (MatrixDense &mat, const Db *db1, const Db *db2, const 1 &index1, const Id iech2=-1, const KrigOpt &krigopt=KrigOpt(), bool cleanOptim=true) const
 
Id evalCovVecRHSInPlace (vect vect, const RankHandler &rank, Id iech2, const KrigOpt &krigopt, SpacePoint &pin, SpacePoint &pout, 1 &tabwork, double lambda=1., const ECalcMember &calcMember=ECalcMember::RHS) const
 
Id evalCovMatOptimInPlace (MatrixDense &mat, const Db *dbin, const RankHandler &rankhandler, const KrigOpt &krigopt, const ECalcMember &calcMember, 1 &tabwork, double lambda=1.) const
 
void eval0CovMatBiPointInPlace (MatrixSymmetric &mat, const CovCalcMode *mode) const
 
double evalIvarIpas (double step, const 1 &dir=1(), Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const
 
double evalIvarIpasIncr (const 1 &dincr, Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const
 
 evalIvarNlag (const 1 &vec_step, const 1 &dir=1(), Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const
 
MatrixSquare evalNvarIpas (double step, const 1 &dir=1(), const CovCalcMode *mode=nullptr) const
 
MatrixSquare evalNvarIpasIncr (const 1 &dincr, const CovCalcMode *mode=nullptr) const
 
double evalIsoIvarIpas (double step, Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const
 
 evalIsoIvarNlag (const 1 &vec_step, Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const
 
MatrixSquare evalIsoNvarIpas (double step, const CovCalcMode *mode=nullptr) const
 
double evalCvv (const 1 &ext, const 1 &ndisc, const 1 &angles=1(), Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const
 
double evalCvvShift (const 1 &ext, const 1 &ndisc, const 1 &shift, const 1 &angles=1(), Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const
 
MatrixSquare evalCvvM (const 1 &ext, const 1 &ndisc, const 1 &angles=1(), const CovCalcMode *mode=nullptr) const
 
double evalCxv (const SpacePoint &p1, const 1 &ext, const 1 &ndisc, const 1 &angles=1(), const 1 &x0=1(), Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const
 
double evalCxv (const Db *db, const 1 &ext, const 1 &ndisc, const 1 &angles=1(), const 1 &x0=1(), Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const
 
MatrixSquare evalCxvM (const SpacePoint &p1, const 1 &ext, const 1 &ndisc, const 1 &angles=1(), const 1 &x0=1(), const CovCalcMode *mode=nullptr) const
 
void evalPointToDb (1 &values, const SpacePoint &p1, const Db *db2, Id ivar=0, Id jvar=0, bool useSel=true, const 1 &nbgh2=1(), const CovCalcMode *mode=nullptr) const
 
void evalPointToDbAsSP (1 &values, const std::vector< SpacePoint > &p1s, const SpacePoint &p2, Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const
 
double evalAverageDbToDb (const Db *db1, const Db *db2, Id ivar=0, Id jvar=0, double eps=0., Id seed=434132, const CovCalcMode *mode=nullptr) const
 
double evalAverageIncrToIncr (const 1 &d1, const 1 &d2, Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const
 
double evalAveragePointToDb (const SpacePoint &p1, const Db *db2, Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const
 
double extensionVariance (const Db *db, const 1 &ext, const 1 &ndisc, const 1 &angles=1(), const 1 &x0=1(), Id ivar=0, Id jvar=0) const
 
double samplingDensityVariance (const Db *db, const 1 &ext, const 1 &ndisc, const 1 &angles=1(), const 1 &x0=1(), Id ivar=0, Id jvar=0) const
 
double specificVolume (const Db *db, double mean, const 1 &ext, const 1 &ndisc, const 1 &angles=1(), const 1 &x0=1(), Id ivar=0, Id jvar=0) const
 
double coefficientOfVariation (const Db *db, double volume, double mean, const 1 &ext, const 1 &ndisc, const 1 &angles=1(), const 1 &x0=1(), Id ivar=0, Id jvar=0) const
 
double specificVolumeFromCoV (Db *db, double cov, double mean, const 1 &ext, const 1 &ndisc, const 1 &angles=1(), const 1 &x0=1(), Id ivar=0, Id jvar=0) const
 
double evaluateOneGeneric (const CovInternal *covint, const 1 &d1=1(), double weight=1., const CovCalcMode *mode=nullptr) const
 
double calculateStDev (Db *db1, Id iech1, Db *db2, Id iech2, bool verbose=false, double factor=1., const CovCalcMode *mode=nullptr) const
 
void evaluateMatInPlace (const CovInternal *covint, const 1 &d1, MatrixSquare &covtab, bool flag_init=false, double weight=1., const CovCalcMode *mode=nullptr) const
 
 evaluateFromDb (Db *db, Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const
 
double evaluateOneIncr (double hh, const 1 &codir=1(), Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr) const
 
 sample (const 1 &h, const 1 &codir=1(), Id ivar=0, Id jvar=0, const CovCalcMode *mode=nullptr, const CovInternal *covint=nullptr) const
 
 sampleUnitary (const 1 &hh, Id ivar=0, Id jvar=0, 1 codir=1(), const CovCalcMode *mode=nullptr) const
 
 envelop (const 1 &hh, Id ivar=0, Id jvar=0, Id isign=1, 1 codir=1(), const CovCalcMode *mode=nullptr) const
 
Id buildVmapOnDbGrid (DbGrid *dbgrid, const NamingConvention &namconv=NamingConvention("VMAP")) const
 
double gofToVario (const Vario *vario, bool verbose=true) const
 
void manage (const Db *db1, const Db *db2) const
 
void load (const SpacePoint &p, bool case1) const
 
void makeStationary ()
 
void createNoStatTab ()
 
void informMeshByMesh (const AMesh *amesh) const
 
void informMeshByApex (const AMesh *amesh) const
 
 informCoords (const 1 &coords, const EConsElem &econs, Id iv1=0, Id iv2=0) const
 
void informDbIn (const Db *dbin) const
 
void informDbOut (const Db *dbout) const
 
virtual void updateCovByPoints (Id icas1, Id iech1, Id icas2, Id iech2)
 
Id getNDim (Id ispace=-1) const
 
void optimizationPreProcessForData (const Db *db1=nullptr) const
 
bool checkAndManageNoStatDb (const Db *db, const String &namecol)
 
std::shared_ptr< const DbgetDbNoStat () const
 
const DbgetDbNoStatRaw () const
 
void setNoStatDbIfNecessary (const Db *db)
 
void setNoStatDbIfNecessary (std::shared_ptr< const Db > &db)
 
- Public Member Functions inherited from gstlrn::ICloneable
 ICloneable ()
 
virtual ~ICloneable ()
 
virtual ICloneableclone () const =0
 
std::shared_ptr< ICloneablecloneShared () const
 
std::unique_ptr< ICloneablecloneUnique () const
 
- Public Member Functions inherited from gstlrn::AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (Id level) const final
 

Additional Inherited Members

- Static Public Member Functions inherited from gstlrn::CovAniso
static CovAnisocreateFromParam (const ECov &type, double range, double sill=1., double param=1, const 1 &ranges=1(), const MatrixSymmetric &sills=MatrixSymmetric(), const 1 &angles=1(), const ASpaceSharedPtr &space=nullptr, bool flagRange=true)
 
static CovAnisocreateIsotropic (const CovContext &ctxt, const ECov &type, double range, double sill=1., double param=1., bool flagRange=true)
 
static CovAnisocreateAnisotropic (const CovContext &ctxt, const ECov &type, const 1 &ranges, double sill=1., double param=1., const 1 &angles=1(), bool flagRange=true)
 
static CovAnisocreateIsotropicMulti (const CovContext &ctxt, const ECov &type, double range, const MatrixSymmetric &sills, double param=1., bool flagRange=true)
 
static CovAnisocreateAnisotropicMulti (const CovContext &ctxt, const ECov &type, const 1 &ranges, const MatrixSymmetric &sills, double param=1., const 1 &angles=1(), bool flagRange=true)
 
- Static Public Member Functions inherited from gstlrn::CovBase
static ParamInfo createParamInfoForCholSill ()
 
- Static Public Member Functions inherited from gstlrn::ACov
static void gofDisplay (double gof, bool byValue=true, const 1 &thresholds={2., 5., 10., 100})
 

Constructor & Destructor Documentation

◆ ACovGradient() [1/3]

gstlrn::ACovGradient::ACovGradient ( const ECov &  type,
const CovContext ctxt 
)

◆ ACovGradient() [2/3]

gstlrn::ACovGradient::ACovGradient ( const ACovGradient r)

◆ ACovGradient() [3/3]

gstlrn::ACovGradient::ACovGradient ( const CovAniso r)

◆ ~ACovGradient()

gstlrn::ACovGradient::~ACovGradient ( )
virtual

Member Function Documentation

◆ evalZAndGradients()

virtual void gstlrn::ACovGradient::evalZAndGradients ( const SpacePoint p1,
const SpacePoint p2,
double &  covVal,
1 &  covGp,
1 &  covGG,
const CovCalcMode mode = nullptr,
bool  flagGrad = false 
) const
pure virtual

◆ operator=()

ACovGradient & gstlrn::ACovGradient::operator= ( const ACovGradient r)

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