1.5.1
CCC
 
PrecisionOp Class Reference

#include <PrecisionOp.hpp>

Inheritance diagram for PrecisionOp:
ASimulable ALinearOp PrecisionOpCs

Public Member Functions

 PrecisionOp ()
 
 PrecisionOp (ShiftOpCs *shiftop, const CovAniso *cova, bool verbose=false)
 
 PrecisionOp (const AMesh *mesh, CovAniso *cova, bool verbose=false)
 
 PrecisionOp (const PrecisionOp &pmat)
 
PrecisionOpoperator= (const PrecisionOp &pmat)
 
virtual ~PrecisionOp ()
 
virtual void evalInverse (const constvect vecin, std::vector< double > &vecout)
 
virtual std::pair< double, double > getRangeEigenVal (int ndiscr=100)
 
int reset (const ShiftOpCs *shiftop, const CovAniso *cova=nullptr, bool verbose=false)
 
virtual double getLogDeterminant (int nbsimu=1)
 
virtual void gradYQX (const constvect, const constvect, vect, const EPowerPT &)
 
virtual void gradYQXOptim (const constvect, const constvect, vect, const EPowerPT &)
 
virtual void evalDeriv (const constvect, vect, int, int, const EPowerPT &)
 
virtual void evalDerivOptim (vect, int, int, const EPowerPT &)
 
VectorVectorDouble simulate (int nbsimu=1)
 
void evalPower (const constvect inm, vect outm, const EPowerPT &power=EPowerPT::fromKey("ONE"))
 
VectorDouble evalCov (int imesh)
 
VectorDouble simulateOne ()
 
int getSize () const override
 
bool getTraining () const
 
void setTraining (bool tr)
 
ShiftOpCsgetShiftOp () const
 
VectorDouble getPolyCoeffs (const EPowerPT &power)
 
void setPolynomialFromPoly (APolynomial *polynomial)
 
bool isCovaDefined () const
 
VectorDouble getCoeffs ()
 
void evalPower (const VectorDouble &inv, VectorDouble &outv, const EPowerPT &power=EPowerPT::fromKey("ONE"))
 
- Public Member Functions inherited from ASimulable
 ASimulable ()
 
virtual ~ASimulable ()
 
int evalSimulate (const VectorDouble &whitenoise, VectorDouble &outv) const
 
VectorDouble evalSimulate (const VectorDouble &whitenoise) const
 
int evalSimulate (const constvect whitenoise, vect result) const
 
int addSimulateToDest (const constvect whitenoise, vect outv) const
 
- Public Member Functions inherited from ALinearOp
virtual ~ALinearOp ()
 
int evalDirect (const VectorDouble &inv, VectorDouble &outv) const
 
VectorDouble evalDirect (const VectorDouble &in) const
 
int evalDirect (constvect inv, vect outv) const
 
int addToDest (const constvect inv, vect outv) const
 
int addToDest (const Eigen::VectorXd &inv, Eigen::VectorXd &outv) const
 

Static Public Member Functions

static PrecisionOpcreateFromShiftOp (ShiftOpCs *shiftop=nullptr, const CovAniso *cova=nullptr, bool verbose=false)
 
static PrecisionOpcreate (const AMesh *mesh, CovAniso *cova, bool verbose=false)
 

Constructor & Destructor Documentation

◆ PrecisionOp() [1/4]

PrecisionOp::PrecisionOp ( )

◆ PrecisionOp() [2/4]

PrecisionOp::PrecisionOp ( ShiftOpCs shiftop,
const CovAniso cova,
bool  verbose = false 
)

◆ PrecisionOp() [3/4]

PrecisionOp::PrecisionOp ( const AMesh mesh,
CovAniso cova,
bool  verbose = false 
)

◆ PrecisionOp() [4/4]

PrecisionOp::PrecisionOp ( const PrecisionOp pmat)

◆ ~PrecisionOp()

PrecisionOp::~PrecisionOp ( )
virtual

Member Function Documentation

◆ create()

PrecisionOp * PrecisionOp::create ( const AMesh mesh,
CovAniso cova,
bool  verbose = false 
)
static

◆ createFromShiftOp()

PrecisionOp * PrecisionOp::createFromShiftOp ( ShiftOpCs shiftop = nullptr,
const CovAniso cova = nullptr,
bool  verbose = false 
)
static

◆ evalCov()

VectorDouble PrecisionOp::evalCov ( int  imesh)

◆ evalDeriv()

virtual void PrecisionOp::evalDeriv ( const  constvect,
vect  ,
int  ,
int  ,
const EPowerPT &   
)
inlinevirtual

Reimplemented in PrecisionOpCs.

◆ evalDerivOptim()

virtual void PrecisionOp::evalDerivOptim ( vect  ,
int  ,
int  ,
const EPowerPT &   
)
inlinevirtual

Reimplemented in PrecisionOpCs.

◆ evalInverse()

void PrecisionOp::evalInverse ( const constvect  vecin,
std::vector< double > &  vecout 
)
virtual

Reimplemented in PrecisionOpCs.

◆ evalPower() [1/2]

void PrecisionOp::evalPower ( const constvect  inm,
vect  outm,
const EPowerPT &  power = EPowerPT::fromKey("ONE") 
)

Evaluate with power = ONE

Parameters
inmInput array
outmOutput array
powerPower of the operation

◆ evalPower() [2/2]

void PrecisionOp::evalPower ( const VectorDouble inv,
VectorDouble outv,
const EPowerPT &  power = EPowerPT::fromKey("ONE") 
)

◆ getCoeffs()

VectorDouble PrecisionOp::getCoeffs ( )

◆ getLogDeterminant()

double PrecisionOp::getLogDeterminant ( int  nbsimu = 1)
virtual

Compute the Logarithm of the Determinant

Parameters
nbsimuNumber of simulations
Returns
The computed value or TEST if problem

Reimplemented in PrecisionOpCs.

◆ getPolyCoeffs()

VectorDouble PrecisionOp::getPolyCoeffs ( const EPowerPT &  power)

◆ getRangeEigenVal()

std::pair< double, double > PrecisionOp::getRangeEigenVal ( int  ndiscr = 100)
virtual

◆ getShiftOp()

ShiftOpCs* PrecisionOp::getShiftOp ( ) const
inline

◆ getSize()

int PrecisionOp::getSize ( ) const
inlineoverridevirtual

Implements ALinearOp.

◆ getTraining()

bool PrecisionOp::getTraining ( ) const
inline

◆ gradYQX()

virtual void PrecisionOp::gradYQX ( const  constvect,
const  constvect,
vect  ,
const EPowerPT &   
)
inlinevirtual

Reimplemented in PrecisionOpCs.

◆ gradYQXOptim()

virtual void PrecisionOp::gradYQXOptim ( const  constvect,
const  constvect,
vect  ,
const EPowerPT &   
)
inlinevirtual

Reimplemented in PrecisionOpCs.

◆ isCovaDefined()

bool PrecisionOp::isCovaDefined ( ) const
inline

◆ operator=()

PrecisionOp & PrecisionOp::operator= ( const PrecisionOp pmat)

◆ reset()

int PrecisionOp::reset ( const ShiftOpCs shiftop,
const CovAniso cova = nullptr,
bool  verbose = false 
)

◆ setPolynomialFromPoly()

void PrecisionOp::setPolynomialFromPoly ( APolynomial polynomial)

◆ setTraining()

void PrecisionOp::setTraining ( bool  tr)
inline

◆ simulate()

VectorVectorDouble PrecisionOp::simulate ( int  nbsimu = 1)

◆ simulateOne()

VectorDouble PrecisionOp::simulateOne ( )

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