1.1.0
CCC
 
ACovFunc Class Referenceabstract

#include <ACovFunc.hpp>

Inheritance diagram for ACovFunc:
AStringable CovBesselJ CovBesselK CovCauchy CovCosExp CovCosinus CovCubic CovExponential CovGamma CovGaussian CovGC1 CovGC3 CovGC5 CovGCspline CovGCspline2 CovLinear CovMarkov CovNugget CovPenta CovPower CovReg1D CovSincard CovSpherical CovStable CovStorkey CovTriangle CovWendland0 CovWendland1 CovWendland2

Public Member Functions

 ACovFunc (const ECov &type, const CovContext &ctxt)
 
 ACovFunc (const ACovFunc &r)
 
ACovFuncoperator= (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 bool isConsistent () const
 Test consistency toward the current context. More...
 
virtual double getScadef () const
 
virtual double getParMax () const
 
virtual unsigned int getMaxNDim () const
 
virtual int getMinOrder () 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 hasCovOnSphere () const
 
virtual bool hasSpectrum () const
 
virtual bool hasMarkovCoeffs () 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 evalCovVec (const VectorDouble &vech) const
 
VectorDouble evalCovDerivativeVec (int degree, const VectorDouble &vech) const
 
const ECov & getType () const
 
const CovContextgetContext () 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)
 
virtual void computeCorrec (int ndim)
 
virtual void computeMarkovCoeffs (int)
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 

Constructor & Destructor Documentation

ACovFunc::ACovFunc ( const ECov &  type,
const CovContext ctxt 
)
ACovFunc::ACovFunc ( const ACovFunc r)
ACovFunc::~ACovFunc ( )
virtual

Member Function Documentation

void ACovFunc::computeCorrec ( int  ndim)
virtual

Reimplemented in CovBesselK.

virtual void ACovFunc::computeMarkovCoeffs ( int  )
inlinevirtual

Reimplemented in CovBesselK.

void ACovFunc::copyCovContext ( const CovContext ctxt)
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
double ACovFunc::evaluateSpectrum ( double  freq,
int  ndim 
) const
virtual

Reimplemented in CovMarkov, and CovBesselK.

const CovContext& ACovFunc::getContext ( ) const
inline
virtual double ACovFunc::getCorrec ( ) const
inlinevirtual

Reimplemented in CovMarkov, and CovBesselK.

VectorDouble ACovFunc::getMarkovCoeffs ( ) const
virtual

Reimplemented in CovBesselK, and CovMarkov.

virtual unsigned int ACovFunc::getMaxNDim ( ) const
inlinevirtual
double ACovFunc::getParam ( ) const
inline
virtual double ACovFunc::getParMax ( ) const
inlinevirtual
virtual double ACovFunc::getScadef ( ) const
inlinevirtual
const ECov& ACovFunc::getType ( ) const
inline
virtual bool ACovFunc::hasCovDerivative ( ) const
inlinevirtual

Reimplemented in CovWendland2, CovCubic, CovGCspline2, and CovGaussian.

virtual bool ACovFunc::hasCovOnSphere ( ) const
inlinevirtual

Reimplemented in CovBesselK, and CovMarkov.

bool ACovFunc::hasInt1D ( ) const
virtual
bool ACovFunc::hasInt2D ( ) const
virtual
virtual bool ACovFunc::hasMarkovCoeffs ( ) const
inlinevirtual

Reimplemented in CovBesselK, and CovMarkov.

virtual bool ACovFunc::hasParam ( ) const
inlinevirtual
virtual int ACovFunc::hasRange ( ) const
inlinevirtual
virtual bool ACovFunc::hasSpectrum ( ) const
inlinevirtual

Reimplemented in CovBesselK, and CovMarkov.

bool ACovFunc::isConsistent ( ) const
virtual

Test consistency toward the current context.

TODO : Test irfDegree vs getMinOrder in CovElem because zonal anisotropies

ACovFunc & ACovFunc::operator= ( const ACovFunc r)
virtual void ACovFunc::setCorrec ( double  )
inlinevirtual

Reimplemented in CovBesselK, and CovMarkov.

void ACovFunc::setField ( double  field)
void ACovFunc::setMarkovCoeffs ( VectorDouble  coeffs)
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.

String ACovFunc::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

AStringable Interface.

Reimplemented from AStringable.


The documentation for this class was generated from the following files: