#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. | |
virtual String | getFormula () const |
ACovFunc Interface. | |
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. | |
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) |
![]() | |
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 CovBesselJ, CovCauchy, CovCosExp, CovCosinus, CovCubic, CovExponential, CovGamma, CovGaussian, CovGC1, CovGC3, CovGC5, CovGCspline, CovGCspline2, CovLinear, CovMatern, CovNugget, CovPenta, CovPower, CovReg1D, CovSincard, CovSpherical, CovStable, CovStorkey, CovTriangle, CovWendland0, CovWendland1, and CovWendland2.
|
inlinevirtual |
Reimplemented in CovExponential, CovGeometric, CovLinearSph, CovMatern, and CovPoisson.
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in CovBesselJ, CovCauchy, CovCosExp, CovCosinus, CovCubic, CovExponential, CovGamma, CovGaussian, CovGC1, CovGC3, CovGC5, CovGCspline, CovGCspline2, CovGeometric, CovLinear, CovLinearSph, CovMarkov, CovMatern, CovNugget, CovPenta, CovPoisson, CovPower, CovReg1D, CovSincard, CovSpherical, CovStable, CovStorkey, CovTriangle, CovWendland0, CovWendland1, and CovWendland2.
|
inlinevirtual |
ACovFunc Interface.
Reimplemented in CovBesselJ, CovCauchy, CovCubic, CovExponential, CovGamma, CovGaussian, CovMarkov, CovMatern, CovNugget, CovSincard, and CovSpherical.
|
virtual |
|
inlinevirtual |
Reimplemented in CovCosinus, CovCubic, CovGCspline2, CovPenta, CovReg1D, CovSpherical, CovStorkey, CovTriangle, CovWendland0, CovWendland1, and CovWendland2.
|
inlinevirtual |
Reimplemented in CovBesselJ, CovCauchy, CovCosExp, CovCosinus, CovCubic, CovExponential, CovGamma, CovGaussian, CovGC1, CovGC3, CovGC5, CovGCspline, CovGCspline2, CovGeometric, CovLinear, CovLinearSph, CovMatern, CovNugget, CovPenta, CovPoisson, CovPower, CovReg1D, CovSincard, CovSpherical, CovStable, CovStorkey, CovTriangle, CovWendland0, CovWendland1, and CovWendland2.
|
inline |
|
inlinevirtual |
Reimplemented in CovBesselJ, CovCauchy, CovCosExp, CovGamma, CovMarkov, CovMatern, CovPoisson, CovPower, and CovStable.
|
inlinevirtual |
Reimplemented in CovCauchy, CovCosExp, CovExponential, CovGamma, CovGaussian, CovMarkov, CovMatern, CovReg1D, CovSincard, and CovStable.
|
inline |
|
inlinevirtual |
Reimplemented in CovCubic, CovGaussian, CovGCspline2, and CovWendland2.
|
inlinevirtual |
Reimplemented in CovLinearSph, CovMarkov, and CovPoisson.
|
virtual |
Reimplemented in CovExponential, CovGeometric, CovLinearSph, and CovPoisson.
|
virtual |
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in CovBesselJ, CovCauchy, CovCosExp, CovGamma, CovMarkov, CovMatern, CovPoisson, CovPower, and CovStable.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in CovExponential, CovGeometric, CovLinearSph, CovMarkov, CovMatern, and CovPoisson.
|
virtual |
Test consistency with the current context.
TODO : Test irfDegree vs getMinOrder in CovElem because zonal anisotropies
|
inlinevirtual |
Reimplemented in CovExponential, CovGaussian, CovLinearSph, CovMatern, and CovPoisson.
|
inlinevirtual |
Reimplemented in CovBesselJ, CovCubic, CovExponential, CovGaussian, CovGC1, CovGC3, CovGC5, CovGCspline, CovLinear, CovMatern, CovNugget, CovPower, CovSincard, CovSpherical, and CovStable.
|
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 CovExponential, CovGaussian, and CovMatern.
|
inlinevirtual |
Reimplemented in CovBesselJ, CovCubic, CovExponential, CovGaussian, CovGC1, CovGC3, CovGC5, CovGCspline, CovLinear, CovMatern, CovPower, CovSincard, CovSpherical, and CovStable.
|
overridevirtual |
AStringable Interface.
Reimplemented from AStringable.