|
| 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) |
|
CovAniso & | operator= (const CovAniso &r) |
|
virtual | ~CovAniso () |
|
virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
| ICloneable Interface. More...
|
|
virtual bool | isConsistent (const ASpace *space) const override |
| ASpaceObject Interface. More...
|
|
virtual int | getNVariables () const override |
| ACov Interface. More...
|
|
virtual double | eval0 (int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const override |
| ACov Interface. More...
|
|
virtual double | eval (const SpacePoint &p1, const SpacePoint &p2, int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const override |
| Calculate the covariance between two variables and two points (general case) More...
|
|
virtual void | eval0MatInPlace (MatrixSquareGeneral &mat, const CovCalcMode *mode=nullptr) const override |
|
virtual void | evalMatInPlace (const SpacePoint &p1, const SpacePoint &p2, MatrixSquareGeneral &mat, const CovCalcMode *mode=nullptr) const override |
|
virtual double | evalCovOnSphere (double alpha, int degree, bool normalize=true) const override |
|
virtual double | evalSpectrum (const VectorDouble &freq, int ivar=0, int jvar=0) const override |
|
virtual double | getIntegralRange (int ndisc, double hmax) const |
|
virtual String | getFormula () const |
|
virtual double | getBallRadius () const |
|
void | optimizationPreProcess (const std::vector< SpacePoint > &vec) const |
|
void | optimizationPostProcess () const |
|
void | optimizationSetTarget (const SpacePoint &pt) const |
|
void | evalOptimInPlace (VectorDouble &res, int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const |
|
void | evalMatOptimInPlace (int icas1, int iech1, int icas2, int iech2, MatrixSquareGeneral &mat, const CovCalcMode *mode=nullptr) const |
|
void | setContext (const CovContext &ctxt) |
|
void | setParam (double param) |
|
void | copyCovContext (const CovContext &ctxt) |
|
void | setNoStatFactor (double noStatFactor) |
|
void | setSill (double sill) |
|
void | setSill (const MatrixSquareSymmetric &sill) |
| Only valid when there is only one variable (in the context) More...
|
|
void | setSill (const VectorDouble &sill) |
|
void | setSill (int ivar, int jvar, double sill) |
|
void | initSill (double value=0.) |
|
void | setRangeIsotropic (double range) |
| Practical range. More...
|
|
void | setRange (int idim, double range) |
|
void | setRanges (const VectorDouble &ranges) |
|
void | setScale (double scale) |
|
void | setScale (int idim, double scale) |
| Make the covariance isotropic. More...
|
|
void | setScales (const VectorDouble &scales) |
|
void | setAnisoRotation (const Rotation &rot) |
|
void | setAnisoRotation (const VectorDouble &rot) |
|
void | setAnisoAngles (const VectorDouble &angles) |
|
void | setAnisoAngle (int idim, double angle) |
|
void | setRotationAnglesAndRadius (const VectorDouble &angles=VectorDouble(), const VectorDouble &ranges=VectorDouble(), const VectorDouble &scales=VectorDouble()) |
|
const MatrixSquareSymmetric & | getSill () const |
|
double | getSill (int ivar, int jvar) const |
|
double | getSlope (int ivar, int jvar) const |
|
VectorDouble | getRanges () const |
|
const Rotation & | getAnisoRotation () const |
|
const VectorDouble & | getScales () const |
|
void | setType (const ECov &type) |
|
double | getRange () const |
|
double | getScale () const |
|
bool | getFlagAniso () const |
|
bool | getFlagRotation () const |
|
double | getRange (int idim) const |
|
double | getScale (int idim) const |
|
const VectorDouble | getAnisoAngles () const |
|
const MatrixSquareGeneral & | getAnisoRotMat () const |
|
const MatrixSquareGeneral & | getAnisoInvMat () const |
|
const VectorDouble | getAnisoCoeffs () const |
|
double | getAnisoAngles (int idim) const |
|
double | getAnisoRotMat (int idim, int jdim) const |
|
double | getAnisoCoeffs (int idim) const |
|
const CovContext & | getContext () const |
|
const ECov & | getType () const |
|
double | getParam () const |
|
double | getScadef () const |
|
double | getParMax () const |
|
int | getMaxNDim () const |
|
int | getMinOrder () const |
|
bool | hasInt1D () const |
|
bool | hasInt2D () const |
|
int | hasRange () const |
|
int | hasParam () const |
|
String | getCovName () const |
|
bool | isIsotropic () const |
|
bool | isAsymptotic () const |
|
bool | hasRotation () const |
|
const Tensor & | getAniso () const |
|
void | setAniso (const Tensor &aniso) |
|
const ACovFunc * | getCova () const |
|
int | getGradParamNumber () const |
|
bool | hasCovDerivative () const |
|
bool | hasCovOnSphere () const |
|
bool | hasMarkovCoeffs () const |
|
bool | hasSpectrum () const |
|
VectorDouble | evalCovOnSphere (const VectorDouble &alpha, int degree) const |
|
Array | evalCovFFT (const VectorDouble &ext, int N=128, int ivar=0, int jvar=0) const |
|
VectorDouble | getMarkovCoeffs () const |
|
void | setMarkovCoeffs (VectorDouble coeffs) |
|
void | setMarkovCoeffsBySquaredPolynomials (VectorDouble coeffs1, VectorDouble coeffs2, double eps=0) |
|
void | computeMarkovCoeffs () |
|
double | getCorrec () const |
|
double | getFullCorrec () const |
|
int | getDimensionNumber () const |
|
CovAniso * | createReduce (const VectorInt &validVars) const |
|
| ACov (const ASpace *space=nullptr) |
|
| ACov (const ACov &r) |
|
ACov & | operator= (const ACov &r) |
|
virtual | ~ACov () |
|
virtual bool | isIndexable () const |
|
virtual bool | isNoStat () const |
|
virtual const ANoStat * | getNoStat () const |
|
virtual ANoStat * | getNoStatModify () const |
|
virtual bool | isOptimEnabled () const |
| Tell if the use of Optimization is enabled or not. More...
|
|
virtual void | updateCovByPoints (int, int, int, int) |
|
virtual void | updateCovByMesh (int) |
|
void | setOptimEnabled (bool isOptimEnabled) |
|
VectorDouble | eval (const std::vector< SpacePoint > &vec_p1, const std::vector< SpacePoint > &vec_p2, int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const |
|
MatrixSquareGeneral | eval0Mat (const CovCalcMode *mode=nullptr) const |
|
MatrixSquareGeneral | evalMat (const SpacePoint &p1, const SpacePoint &p2, const CovCalcMode *mode=nullptr) const |
|
double | evalIvarIpas (double step, const VectorDouble &dir=VectorDouble(), int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const |
|
double | evalIvarIpasIncr (const VectorDouble &dincr, int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const |
|
VectorDouble | evalIvarNpas (const VectorDouble &vec_step, const VectorDouble &dir=VectorDouble(), int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const |
|
MatrixSquareGeneral | evalNvarIpas (double step, const VectorDouble &dir=VectorDouble(), const CovCalcMode *mode=nullptr) const |
|
MatrixSquareGeneral | evalNvarIpasIncr (const VectorDouble &dincr, const CovCalcMode *mode=nullptr) const |
|
double | evalIsoIvarIpas (double step, int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const |
|
VectorDouble | evalIsoIvarNpas (const VectorDouble &vec_step, int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const |
|
MatrixSquareGeneral | evalIsoNvarIpas (double step, const CovCalcMode *mode=nullptr) const |
|
double | evalCvv (const VectorDouble &ext, const VectorInt &ndisc, const VectorDouble &angles=VectorDouble(), int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const |
|
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 |
|
MatrixSquareGeneral | evalCvvM (const VectorDouble &ext, const VectorInt &ndisc, const VectorDouble &angles=VectorDouble(), const CovCalcMode *mode=nullptr) const |
|
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 |
|
double | evalCxv (const Db *db, 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 |
|
MatrixSquareGeneral | evalCxvM (const SpacePoint &p1, const VectorDouble &ext, const VectorInt &ndisc, const VectorDouble &angles=VectorDouble(), const VectorDouble &x0=VectorDouble(), const CovCalcMode *mode=nullptr) const |
|
VectorDouble | evalPointToDb (const SpacePoint &p1, const Db *db2, int ivar=0, int jvar=0, bool useSel=true, const VectorInt &nbgh2=VectorInt(), const CovCalcMode *mode=nullptr) const |
|
VectorDouble | evalPointToDbAsSP (const std::vector< SpacePoint > &p1s, const SpacePoint &p2, int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const |
|
double | evalAverageDbToDb (const Db *db1, const Db *db2, int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const |
|
double | evalAverageIncrToIncr (const VectorVectorDouble &d1, const VectorVectorDouble &d2, int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const |
|
double | evalAveragePointToDb (const SpacePoint &p1, const Db *db2, int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const |
|
MatrixRectangular | evalCovMatrix (Db *db1_arg, Db *db2_arg=nullptr, int ivar=0, int jvar=0, const VectorInt &nbgh1=VectorInt(), const VectorInt &nbgh2=VectorInt(), const CovCalcMode *mode=nullptr) |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
| ASpaceObject (const ASpace *space=nullptr) |
|
| ASpaceObject (const ASpace &space) |
|
| ASpaceObject (const ASpaceObject &r) |
|
ASpaceObject & | operator= (const ASpaceObject &r) |
|
virtual | ~ASpaceObject () |
|
const ASpace * | getSpace () const |
| Accessor to the current object space context. More...
|
|
bool | isConsistent () const |
| Indicate if I am consistent with my current space context. More...
|
|
VectorDouble | getUnitaryVector () const |
| Return unitary vector for the current space context. More...
|
|
unsigned int | getNDim () const |
| Shortcuts to ASpace methods. More...
|
|
const VectorDouble & | getOrigin () const |
| Return the current space context origin coordinates. More...
|
|
double | getDistance (const SpacePoint &p1, const SpacePoint &p2) const |
| Return the distance between two space points for the current space context. More...
|
|
double | getDistance1D (const SpacePoint &p1, const SpacePoint &p2, int idim) const |
| Return the distance along one direction between two space points. More...
|
|
VectorDouble | getIncrement (const SpacePoint &p1, const SpacePoint &p2) const |
| Return the increment vector between two space points for the current space context. More...
|
|
| 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 |
|
| ICloneable () |
|
virtual | ~ICloneable () |
|
virtual ICloneable * | clone () const =0 |
|
This class describes an elementary covariance.
This covariance is described through the following list of parameters:
- the covariance type: the list of these types is provided in ECov.hpp
- the largest set of parameters for any covariance: range(s), anisotropy angle(s), third parameter. Some of these parameters do not make sense, depending on the covariance type: e.g. the range for nugget effect, the third parameter for a spherical structure, ... All these parameters are processed and stored as a tensor in order to avoid repetitive calculations.
- the sill. This comes as a square symmetric matrix whose dimension is equal to the number of variables.