#include <ACovFunc.hpp>
Public Member Functions | |
ACovFunc (const ECov &type, const CovContext &ctxt) | |
ACovFunc (const ACovFunc &r) | |
ACovFunc & | operator= (const ACovFunc &r) |
virtual | ~ACovFunc () |
virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
AStringable Interface. More... | |
virtual String | getFormula () const |
ACovFunc Interface. More... | |
virtual double | getScadef () const |
virtual double | getParMax () const |
virtual bool | hasInt1D () const |
virtual bool | hasInt2D () const |
virtual int | hasRange () const |
virtual bool | hasParam () const |
virtual String | getCovName () const =0 |
virtual bool | hasCovDerivative () const |
virtual bool | hasCovOnRn () const |
virtual bool | hasCovOnSphere () const |
virtual bool | hasSpectrumOnSphere () const |
virtual bool | hasSpectrumOnRn () const |
virtual bool | hasMarkovCoeffs () const |
virtual bool | isConsistent () const |
Test consistency with the current context. More... | |
virtual unsigned int | getMaxNDim () const |
virtual int | getMinOrder () const |
virtual bool | getCompatibleSpaceR () const |
virtual bool | getCompatibleSpaceS () const |
virtual bool | isValidForTurningBand () const |
virtual double | simulateTurningBand (double t0, TurningBandOperate &operTB) const |
virtual bool | isValidForSpectral () const |
virtual MatrixRectangular | simulateSpectralOmega (int nb) const |
void | setParam (double param) |
void | setField (double field) |
double | evalCov (double h) const |
double | evalCovDerivative (int degree, double h) const |
double | evalCovOnSphere (double alpha, double scale=1., int degree=50) const |
VectorDouble | evalSpectrumOnSphere (int n, double scale=1.) const |
VectorDouble | evalCovVec (const VectorDouble &vech) const |
VectorDouble | evalCovDerivativeVec (int degree, const VectorDouble &vech) const |
const ECov & | getType () const |
const CovContext & | getContext () const |
double | getParam () const |
void | copyCovContext (const CovContext &ctxt) |
virtual double | evaluateSpectrum (double freq, int ndim) const |
virtual VectorDouble | getMarkovCoeffs () const |
virtual void | setMarkovCoeffs (VectorDouble coeffs) |
virtual double | getCorrec () const |
virtual void | setCorrec (double val) |
virtual void | computeCorrec (int ndim) |
virtual void | computeMarkovCoeffs (int dim) |
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 |
ACovFunc::ACovFunc | ( | const ECov & | type, |
const CovContext & | ctxt | ||
) |
ACovFunc::ACovFunc | ( | const ACovFunc & | r | ) |
|
virtual |
|
virtual |
Reimplemented in CovBesselK.
|
inlinevirtual |
Reimplemented in CovBesselK.
|
inline |
double ACovFunc::evalCov | ( | double | h | ) | const |
double ACovFunc::evalCovDerivative | ( | int | degree, |
double | h | ||
) | const |
VectorDouble ACovFunc::evalCovDerivativeVec | ( | int | degree, |
const VectorDouble & | vech | ||
) | const |
double ACovFunc::evalCovOnSphere | ( | double | alpha, |
double | scale = 1. , |
||
int | degree = 50 |
||
) | const |
VectorDouble ACovFunc::evalCovVec | ( | const VectorDouble & | vech | ) | const |
VectorDouble ACovFunc::evalSpectrumOnSphere | ( | int | n, |
double | scale = 1. |
||
) | const |
|
virtual |
Reimplemented in CovBesselK, and CovMarkov.
|
inlinevirtual |
Reimplemented in CovWendland0, CovWendland1, CovGC1, CovGC3, CovGC5, CovPower, CovWendland2, CovBesselJ, CovGaussian, CovStable, CovCosExp, CovCubic, CovGCspline, CovLinear, CovBesselK, CovExponential, CovGCspline2, CovSincard, CovSpherical, CovCosinus, CovPenta, CovStorkey, CovTriangle, CovCauchy, CovGamma, CovNugget, and CovReg1D.
|
inlinevirtual |
Reimplemented in CovBesselK, CovExponential, CovPoisson, CovGeometric, and CovLinearSph.
|
inline |
|
inlinevirtual |
Reimplemented in CovBesselK, and CovMarkov.
|
pure virtual |
Implemented in CovGC1, CovGC3, CovGC5, CovPower, CovWendland0, CovWendland1, CovWendland2, CovBesselJ, CovLinear, CovStable, CovCosExp, CovCubic, CovGCspline, CovGCspline2, CovBesselK, CovExponential, CovGaussian, CovSincard, CovSpherical, CovCosinus, CovMarkov, CovPenta, CovStorkey, CovTriangle, CovCauchy, CovGamma, CovNugget, CovReg1D, CovGeometric, CovLinearSph, and CovPoisson.
|
inlinevirtual |
ACovFunc Interface.
Reimplemented in CovBesselJ, CovCubic, CovBesselK, CovGaussian, CovSincard, CovSpherical, CovExponential, CovMarkov, CovCauchy, CovGamma, and CovNugget.
|
virtual |
Reimplemented in CovBesselK, and CovMarkov.
|
inlinevirtual |
Reimplemented in CovReg1D, CovWendland0, CovWendland1, CovWendland2, CovGCspline2, CovCubic, CovSpherical, CovCosinus, CovPenta, CovStorkey, and CovTriangle.
|
inlinevirtual |
Reimplemented in CovWendland0, CovWendland1, CovWendland2, CovBesselJ, CovGC1, CovGC3, CovGC5, CovPower, CovStable, CovCosExp, CovCubic, CovGCspline, CovBesselK, CovExponential, CovGaussian, CovLinear, CovSincard, CovSpherical, CovCosinus, CovPenta, CovPoisson, CovStorkey, CovTriangle, CovCauchy, CovGamma, CovGCspline2, CovNugget, CovReg1D, CovGeometric, and CovLinearSph.
|
inline |
|
inlinevirtual |
Reimplemented in CovBesselK, CovCauchy, CovGamma, CovMarkov, CovPower, CovStable, CovBesselJ, CovPoisson, and CovCosExp.
|
inlinevirtual |
Reimplemented in CovBesselK, CovCauchy, CovGamma, CovMarkov, CovGaussian, CovCosExp, CovExponential, CovStable, CovSincard, and CovReg1D.
|
inline |
|
inlinevirtual |
Reimplemented in CovWendland2, CovCubic, CovGaussian, and CovGCspline2.
|
inlinevirtual |
Reimplemented in CovMarkov, CovPoisson, and CovLinearSph.
|
virtual |
Reimplemented in CovExponential, CovPoisson, CovLinearSph, and CovGeometric.
|
virtual |
|
virtual |
|
inlinevirtual |
Reimplemented in CovBesselK, and CovMarkov.
|
inlinevirtual |
Reimplemented in CovBesselK, CovCauchy, CovGamma, CovMarkov, CovPower, CovBesselJ, CovCosExp, CovPoisson, and CovStable.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in CovBesselK, and CovMarkov.
|
inlinevirtual |
Reimplemented in CovBesselK, CovExponential, CovPoisson, CovLinearSph, and CovGeometric.
|
virtual |
Test consistency with the current context.
TODO : Test irfDegree vs getMinOrder in CovElem because zonal anisotropies
|
inlinevirtual |
Reimplemented in CovBesselK, CovExponential, CovGaussian, CovPoisson, and CovLinearSph.
|
inlinevirtual |
Reimplemented in CovBesselK, CovExponential, CovGC1, CovGC3, CovGC5, CovPower, CovBesselJ, CovCubic, CovGaussian, CovStable, CovGCspline, CovLinear, CovNugget, CovSincard, and CovSpherical.
|
inlinevirtual |
Reimplemented in CovBesselK, and CovMarkov.
void ACovFunc::setField | ( | double | field | ) |
|
virtual |
Reimplemented in CovBesselK, and CovMarkov.
void ACovFunc::setParam | ( | double | param | ) |
TODO : Do not throw in setter. Check range and build the error message here.
|
inlinevirtual |
Reimplemented in CovBesselK, CovExponential, and CovGaussian.
|
inlinevirtual |
Reimplemented in CovBesselK, CovExponential, CovGC1, CovGC3, CovGC5, CovPower, CovBesselJ, CovCubic, CovGaussian, CovStable, CovGCspline, CovLinear, CovSincard, and CovSpherical.
|
overridevirtual |
AStringable Interface.
Reimplemented from AStringable.