1.3.2
CCC
 
ACovFunc Class Referenceabstract

#include <ACovFunc.hpp>

Inheritance diagram for ACovFunc:
AStringable CovBesselJ CovBesselK CovCauchy CovCosExp CovCosinus CovCubic CovExponential CovGC1 CovGC3 CovGC5 CovGCspline CovGCspline2 CovGamma CovGaussian CovGeometric CovLinear CovLinearSph CovMarkov CovNugget CovPenta CovPoisson 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 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 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 val)
 
virtual void computeCorrec (int ndim)
 
virtual void computeMarkovCoeffs (int dim)
 
- 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() [1/2]

ACovFunc::ACovFunc ( const ECov &  type,
const CovContext ctxt 
)

◆ ACovFunc() [2/2]

ACovFunc::ACovFunc ( const ACovFunc r)

◆ ~ACovFunc()

ACovFunc::~ACovFunc ( )
virtual

Member Function Documentation

◆ computeCorrec()

void ACovFunc::computeCorrec ( int  ndim)
virtual

Reimplemented in CovBesselK.

◆ computeMarkovCoeffs()

virtual void ACovFunc::computeMarkovCoeffs ( int  dim)
inlinevirtual

Reimplemented in CovBesselK.

◆ copyCovContext()

void ACovFunc::copyCovContext ( const CovContext ctxt)
inline

◆ evalCov()

double ACovFunc::evalCov ( double  h) const

◆ evalCovDerivative()

double ACovFunc::evalCovDerivative ( int  degree,
double  h 
) const

◆ evalCovDerivativeVec()

VectorDouble ACovFunc::evalCovDerivativeVec ( int  degree,
const VectorDouble vech 
) const

◆ evalCovOnSphere()

double ACovFunc::evalCovOnSphere ( double  alpha,
double  scale = 1.,
int  degree = 50 
) const

◆ evalCovVec()

VectorDouble ACovFunc::evalCovVec ( const VectorDouble vech) const

◆ evalSpectrumOnSphere()

VectorDouble ACovFunc::evalSpectrumOnSphere ( int  n,
double  scale = 1. 
) const

◆ evaluateSpectrum()

double ACovFunc::evaluateSpectrum ( double  freq,
int  ndim 
) const
virtual

Reimplemented in CovMarkov, and CovBesselK.

◆ getCompatibleSpaceR()

◆ getCompatibleSpaceS()

virtual bool ACovFunc::getCompatibleSpaceS ( ) const
inlinevirtual

◆ getContext()

const CovContext& ACovFunc::getContext ( ) const
inline

◆ getCorrec()

virtual double ACovFunc::getCorrec ( ) const
inlinevirtual

Reimplemented in CovMarkov, and CovBesselK.

◆ getCovName()

◆ getFormula()

virtual String ACovFunc::getFormula ( ) const
inlinevirtual

◆ getMarkovCoeffs()

VectorDouble ACovFunc::getMarkovCoeffs ( ) const
virtual

Reimplemented in CovMarkov, and CovBesselK.

◆ getMaxNDim()

virtual unsigned int ACovFunc::getMaxNDim ( ) const
inlinevirtual

◆ getMinOrder()

◆ getParam()

double ACovFunc::getParam ( ) const
inline

◆ getParMax()

virtual double ACovFunc::getParMax ( ) const
inlinevirtual

◆ getScadef()

virtual double ACovFunc::getScadef ( ) const
inlinevirtual

◆ getType()

const ECov& ACovFunc::getType ( ) const
inline

◆ hasCovDerivative()

virtual bool ACovFunc::hasCovDerivative ( ) const
inlinevirtual

Reimplemented in CovWendland2, CovGCspline2, CovGaussian, and CovCubic.

◆ hasCovOnRn()

virtual bool ACovFunc::hasCovOnRn ( ) const
inlinevirtual

Reimplemented in CovPoisson, CovMarkov, and CovLinearSph.

◆ hasCovOnSphere()

bool ACovFunc::hasCovOnSphere ( ) const
virtual

◆ hasInt1D()

bool ACovFunc::hasInt1D ( ) const
virtual

◆ hasInt2D()

bool ACovFunc::hasInt2D ( ) const
virtual

◆ hasMarkovCoeffs()

virtual bool ACovFunc::hasMarkovCoeffs ( ) const
inlinevirtual

Reimplemented in CovMarkov, and CovBesselK.

◆ hasParam()

virtual bool ACovFunc::hasParam ( ) const
inlinevirtual

◆ hasRange()

virtual int ACovFunc::hasRange ( ) const
inlinevirtual

◆ hasSpectrumOnRn()

virtual bool ACovFunc::hasSpectrumOnRn ( ) const
inlinevirtual

Reimplemented in CovMarkov, and CovBesselK.

◆ hasSpectrumOnSphere()

virtual bool ACovFunc::hasSpectrumOnSphere ( ) const
inlinevirtual

◆ isConsistent()

bool ACovFunc::isConsistent ( ) const
virtual

Test consistency with the current context.

TODO : Test irfDegree vs getMinOrder in CovElem because zonal anisotropies

◆ isValidForSpectral()

virtual bool ACovFunc::isValidForSpectral ( ) const
inlinevirtual

◆ isValidForTurningBand()

virtual bool ACovFunc::isValidForTurningBand ( ) const
inlinevirtual

◆ operator=()

ACovFunc & ACovFunc::operator= ( const ACovFunc r)

◆ setCorrec()

virtual void ACovFunc::setCorrec ( double  val)
inlinevirtual

Reimplemented in CovMarkov, and CovBesselK.

◆ setField()

void ACovFunc::setField ( double  field)

◆ setMarkovCoeffs()

void ACovFunc::setMarkovCoeffs ( VectorDouble  coeffs)
virtual

Reimplemented in CovMarkov, and CovBesselK.

◆ setParam()

void ACovFunc::setParam ( double  param)

TODO : Do not throw in setter. Check range and build the error message here.

◆ simulateSpectralOmega()

virtual MatrixRectangular ACovFunc::simulateSpectralOmega ( int  nb) const
inlinevirtual

Reimplemented in CovGaussian, CovExponential, and CovBesselK.

◆ simulateTurningBand()

virtual double ACovFunc::simulateTurningBand ( double  t0,
TurningBandOperate operTB 
) const
inlinevirtual

◆ toString()

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: