1.3.1
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() [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,
Model model,
int  icov = 0,
const CGParam  params = CGParam(),
bool  verbose = false 
)

◆ PrecisionOp() [4/4]

PrecisionOp::PrecisionOp ( const PrecisionOp m)

◆ ~PrecisionOp()

PrecisionOp::~PrecisionOp ( )
virtual

Member Function Documentation

◆ create()

PrecisionOp * PrecisionOp::create ( const AMesh mesh,
Model model,
int  icov = 0,
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 VectorDouble ,
VectorDouble ,
int  ,
int  ,
const EPowerPT &   
)
inlinevirtual

Reimplemented in PrecisionOpCs.

◆ evalDerivOptim()

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

Reimplemented in PrecisionOpCs.

◆ evalDirect()

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

Evaluate with power = ONE

Parameters
vecinInput array
vecoutOutput array

Reimplemented in PrecisionOpCs.

◆ evalInverse()

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

Reimplemented in PrecisionOpCs.

◆ evalPower()

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

◆ evalSimulate()

void PrecisionOp::evalSimulate ( VectorDouble whitenoise,
VectorDouble vecout 
)
virtual

Reimplemented in PrecisionOpCs.

◆ getCoeffs()

VectorDouble PrecisionOp::getCoeffs ( )

◆ getLogDeterminant()

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.

◆ getLogStats()

const LogStats& PrecisionOp::getLogStats ( )
inline

◆ getPolyCoeffs()

VectorDouble PrecisionOp::getPolyCoeffs ( EPowerPT  power)

◆ getRangeEigenVal()

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

◆ getShiftOp()

ShiftOpCs* PrecisionOp::getShiftOp ( ) const
inline

◆ getSize()

int PrecisionOp::getSize ( ) const
inline

◆ getTraining()

bool PrecisionOp::getTraining ( ) const
inline

◆ gradYQX()

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

Reimplemented in PrecisionOpCs.

◆ gradYQXOptim()

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

Reimplemented in PrecisionOpCs.

◆ isCovaDefined()

bool PrecisionOp::isCovaDefined ( ) const
inline

◆ makeReady()

virtual void PrecisionOp::makeReady ( )
inlinevirtual

Reimplemented in PrecisionOpCs.

◆ mustShowStats()

void PrecisionOp::mustShowStats ( bool  status) const
inline

◆ operator=()

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

◆ 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: