#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 CovMarkov, and CovBesselK.
|
inlinevirtual |
Reimplemented in CovWendland2, CovWendland1, CovWendland0, CovTriangle, CovStorkey, CovStable, CovSpherical, CovSincard, CovReg1D, CovPower, CovPenta, CovNugget, CovLinear, CovGCspline2, CovGCspline, CovGC5, CovGC3, CovGC1, CovGaussian, CovGamma, CovExponential, CovCubic, CovCosinus, CovCosExp, CovCauchy, CovBesselK, and CovBesselJ.
|
inlinevirtual |
Reimplemented in CovPoisson, CovLinearSph, CovGeometric, CovExponential, and CovBesselK.
|
inline |
|
inlinevirtual |
Reimplemented in CovMarkov, and CovBesselK.
|
pure virtual |
Implemented in CovWendland2, CovWendland1, CovWendland0, CovTriangle, CovStorkey, CovStable, CovSpherical, CovSincard, CovReg1D, CovPower, CovPoisson, CovPenta, CovNugget, CovMarkov, CovLinearSph, CovLinear, CovGeometric, CovGCspline2, CovGCspline, CovGC5, CovGC3, CovGC1, CovGaussian, CovGamma, CovExponential, CovCubic, CovCosinus, CovCosExp, CovCauchy, CovBesselK, and CovBesselJ.
|
inlinevirtual |
ACovFunc Interface.
Reimplemented in CovSpherical, CovSincard, CovNugget, CovMarkov, CovGaussian, CovGamma, CovExponential, CovCubic, CovCauchy, CovBesselK, and CovBesselJ.
|
virtual |
Reimplemented in CovMarkov, and CovBesselK.
|
inlinevirtual |
Reimplemented in CovWendland2, CovWendland1, CovWendland0, CovTriangle, CovStorkey, CovSpherical, CovReg1D, CovPenta, CovGCspline2, CovCubic, and CovCosinus.
|
inlinevirtual |
Reimplemented in CovWendland2, CovWendland1, CovWendland0, CovTriangle, CovStorkey, CovStable, CovSpherical, CovSincard, CovReg1D, CovPower, CovPoisson, CovPenta, CovNugget, CovLinearSph, CovLinear, CovGeometric, CovGCspline2, CovGCspline, CovGC5, CovGC3, CovGC1, CovGaussian, CovGamma, CovExponential, CovCubic, CovCosinus, CovCosExp, CovCauchy, CovBesselK, and CovBesselJ.
|
inline |
|
inlinevirtual |
Reimplemented in CovStable, CovPower, CovPoisson, CovMarkov, CovGamma, CovCosExp, CovCauchy, CovBesselK, and CovBesselJ.
|
inlinevirtual |
Reimplemented in CovStable, CovSincard, CovReg1D, CovMarkov, CovGaussian, CovGamma, CovExponential, CovCosExp, CovCauchy, and CovBesselK.
|
inline |
|
inlinevirtual |
Reimplemented in CovWendland2, CovGCspline2, CovGaussian, and CovCubic.
|
inlinevirtual |
Reimplemented in CovPoisson, CovMarkov, and CovLinearSph.
|
virtual |
Reimplemented in CovPoisson, CovLinearSph, CovGeometric, and CovExponential.
|
virtual |
|
virtual |
|
inlinevirtual |
Reimplemented in CovMarkov, and CovBesselK.
|
inlinevirtual |
Reimplemented in CovStable, CovPower, CovPoisson, CovMarkov, CovGamma, CovCosExp, CovCauchy, CovBesselK, and CovBesselJ.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in CovMarkov, and CovBesselK.
|
inlinevirtual |
Reimplemented in CovPoisson, CovLinearSph, CovGeometric, CovExponential, and CovBesselK.
|
virtual |
Test consistency with the current context.
TODO : Test irfDegree vs getMinOrder in CovElem because zonal anisotropies
|
inlinevirtual |
Reimplemented in CovPoisson, CovLinearSph, CovGaussian, CovExponential, and CovBesselK.
|
inlinevirtual |
Reimplemented in CovStable, CovSpherical, CovSincard, CovPower, CovNugget, CovLinear, CovGCspline, CovGC5, CovGC3, CovGC1, CovGaussian, CovExponential, CovCubic, CovBesselK, and CovBesselJ.
|
inlinevirtual |
Reimplemented in CovMarkov, and CovBesselK.
void ACovFunc::setField | ( | double | field | ) |
|
virtual |
Reimplemented in CovMarkov, and CovBesselK.
void ACovFunc::setParam | ( | double | param | ) |
TODO : Do not throw in setter. Check range and build the error message here.
|
inlinevirtual |
Reimplemented in CovGaussian, CovExponential, and CovBesselK.
|
inlinevirtual |
Reimplemented in CovStable, CovSpherical, CovSincard, CovPower, CovLinear, CovGCspline, CovGC5, CovGC3, CovGC1, CovGaussian, CovExponential, CovCubic, CovBesselK, and CovBesselJ.
|
overridevirtual |
AStringable Interface.
Reimplemented from AStringable.