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