1.1.0
CCC
 
PrecisionOp Class Reference

#include <PrecisionOp.hpp>

Inheritance diagram for PrecisionOp:
PrecisionOpCs

Public Member Functions

 PrecisionOp ()
 
 PrecisionOp (ShiftOpCs *shiftop, const CovAniso *cova, bool verbose=false)
 
 PrecisionOp (const AMesh *mesh, Model *model, int icov=0, const CGParam params=CGParam(), bool verbose=false)
 
 PrecisionOp (const PrecisionOp &m)
 
PrecisionOpoperator= (const PrecisionOp &m)
 
virtual ~PrecisionOp ()
 
virtual void evalDirect (const VectorDouble &vecin, VectorDouble &vecout)
 
virtual void evalSimulate (VectorDouble &whitenoise, VectorDouble &vecout)
 
virtual void evalInverse (VectorDouble &vecin, VectorDouble &vecout)
 
virtual void makeReady ()
 
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, int seed=0)
 
virtual void gradYQX (const VectorDouble &, const VectorDouble &, VectorDouble &, const EPowerPT &)
 
virtual void gradYQXOptim (const VectorDouble &, const VectorDouble &, VectorDouble &, const EPowerPT &)
 
virtual void evalDeriv (const VectorDouble &, VectorDouble &, int, int, const EPowerPT &)
 
virtual void evalDerivOptim (VectorDouble &, int, int, const EPowerPT &)
 
void evalPower (const VectorDouble &inv, VectorDouble &outv, const EPowerPT &power=EPowerPT::fromKey("ONE"))
 
VectorDouble evalCov (int imesh)
 
VectorVectorDouble simulate (int nbsimu=1)
 
VectorDouble simulateOne ()
 
int getSize () const
 
bool getTraining () const
 
void setTraining (bool tr)
 
ShiftOpCsgetShiftOp () const
 
VectorDouble getPolyCoeffs (EPowerPT power)
 
void setPolynomialFromPoly (APolynomial *polynomial)
 
bool isCovaDefined () const
 
VectorDouble getCoeffs ()
 
void mustShowStats (bool status) const
 
const LogStatsgetLogStats ()
 

Static Public Member Functions

static PrecisionOpcreateFromShiftOp (ShiftOpCs *shiftop=nullptr, const CovAniso *cova=nullptr, bool verbose=false)
 
static PrecisionOpcreate (const AMesh *mesh, Model *model, int icov=0, bool verbose=false)
 

Constructor & Destructor Documentation

PrecisionOp::PrecisionOp ( )
PrecisionOp::PrecisionOp ( ShiftOpCs shiftop,
const CovAniso cova,
bool  verbose = false 
)
PrecisionOp::PrecisionOp ( const AMesh mesh,
Model model,
int  icov = 0,
const CGParam  params = CGParam(),
bool  verbose = false 
)
PrecisionOp::PrecisionOp ( const PrecisionOp m)
PrecisionOp::~PrecisionOp ( )
virtual

Member Function Documentation

PrecisionOp * PrecisionOp::create ( const AMesh mesh,
Model model,
int  icov = 0,
bool  verbose = false 
)
static
PrecisionOp * PrecisionOp::createFromShiftOp ( ShiftOpCs shiftop = nullptr,
const CovAniso cova = nullptr,
bool  verbose = false 
)
static
VectorDouble PrecisionOp::evalCov ( int  imesh)
virtual void PrecisionOp::evalDeriv ( const VectorDouble ,
VectorDouble ,
int  ,
int  ,
const EPowerPT &   
)
inlinevirtual

Reimplemented in PrecisionOpCs.

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

Reimplemented in PrecisionOpCs.

void PrecisionOp::evalDirect ( const VectorDouble vecin,
VectorDouble vecout 
)
virtual

Evaluate with power = ONE

Parameters
vecinInput array
vecoutOutput array

Reimplemented in PrecisionOpCs.

void PrecisionOp::evalInverse ( VectorDouble vecin,
VectorDouble vecout 
)
virtual

Reimplemented in PrecisionOpCs.

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

Reimplemented in PrecisionOpCs.

VectorDouble PrecisionOp::getCoeffs ( )
double PrecisionOp::getLogDeterminant ( int  nbsimu = 1,
int  seed = 0 
)
virtual

Compute the Logarithm of the Determinant

Parameters
nbsimuNumber of simulations
seedSeed for random number generation
Returns
The computed value or TEST if problem

Reimplemented in PrecisionOpCs.

const LogStats& PrecisionOp::getLogStats ( )
inline
VectorDouble PrecisionOp::getPolyCoeffs ( EPowerPT  power)
std::pair< double, double > PrecisionOp::getRangeEigenVal ( int  ndiscr = 100)
virtual
ShiftOpCs* PrecisionOp::getShiftOp ( ) const
inline
int PrecisionOp::getSize ( ) const
inline
bool PrecisionOp::getTraining ( ) const
inline
virtual void PrecisionOp::gradYQX ( const VectorDouble ,
const VectorDouble ,
VectorDouble ,
const EPowerPT &   
)
inlinevirtual

Reimplemented in PrecisionOpCs.

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

Reimplemented in PrecisionOpCs.

bool PrecisionOp::isCovaDefined ( ) const
inline
virtual void PrecisionOp::makeReady ( )
inlinevirtual

Reimplemented in PrecisionOpCs.

void PrecisionOp::mustShowStats ( bool  status) const
inline
PrecisionOp & PrecisionOp::operator= ( const PrecisionOp m)
int PrecisionOp::reset ( const ShiftOpCs shiftop,
const CovAniso cova = nullptr,
bool  verbose = false 
)
void PrecisionOp::setPolynomialFromPoly ( APolynomial polynomial)
void PrecisionOp::setTraining ( bool  tr)
inline
VectorVectorDouble PrecisionOp::simulate ( int  nbsimu = 1)
VectorDouble PrecisionOp::simulateOne ( )

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