#include <PrecisionOp.hpp>
|
| | 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) |
| |
| PrecisionOp & | operator= (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 | computeLogDet (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) |
| |
| ShiftOpCs * | getShiftOp () const |
| |
| VectorDouble | getPolyCoeffs (EPowerPT power) |
| |
| void | setPolynomialFromPoly (APolynomial *polynomial) |
| |
| bool | isCovaDefined () const |
| |
| VectorDouble | getCoeffs () |
| |
| void | mustShowStats (bool status) const |
| |
| const LogStats & | getLogStats () |
| |
◆ 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::~PrecisionOp |
( |
| ) |
|
|
virtual |
◆ _evalPoly()
◆ _prepareChebychev()
| int PrecisionOp::_prepareChebychev |
( |
const EPowerPT & |
power | ) |
|
|
private |
◆ _preparePoly()
| int PrecisionOp::_preparePoly |
( |
const EPowerPT & |
power, |
|
|
bool |
force = false |
|
) |
| |
|
private |
◆ _preparePrecisionPoly()
| int PrecisionOp::_preparePrecisionPoly |
( |
| ) |
|
|
private |
◆ _purge()
| void PrecisionOp::_purge |
( |
| ) |
|
|
private |
◆ computeLogDet()
| double PrecisionOp::computeLogDet |
( |
int |
nbsimu = 1, |
|
|
int |
seed = 0 |
|
) |
| |
|
virtual |
Compute the Logarithm of the Determinant
- Parameters
-
| nbsimu | Number of simulations |
| seed | Seed for random number generation |
- Returns
- The computed value or TEST if problem
Reimplemented in PrecisionOpCs.
◆ create()
| PrecisionOp * PrecisionOp::create |
( |
const AMesh * |
mesh, |
|
|
Model * |
model, |
|
|
int |
icov = 0, |
|
|
bool |
verbose = false |
|
) |
| |
|
static |
◆ createFromShiftOp()
◆ evalCov()
◆ evalDeriv()
◆ evalDerivOptim()
| virtual void PrecisionOp::evalDerivOptim |
( |
VectorDouble & |
, |
|
|
int |
, |
|
|
int |
, |
|
|
const EPowerPT & |
|
|
) |
| |
|
inlinevirtual |
◆ evalDirect()
Evaluate with power = ONE
- Parameters
-
| vecin | Input array |
| vecout | Output array |
Reimplemented in PrecisionOpCs.
◆ evalInverse()
◆ evalPower()
| void PrecisionOp::evalPower |
( |
const VectorDouble & |
inv, |
|
|
VectorDouble & |
outv, |
|
|
const EPowerPT & |
power = EPowerPT::fromKey("ONE") |
|
) |
| |
◆ evalSimulate()
◆ getCoeffs()
◆ getLogStats()
| const LogStats& PrecisionOp::getLogStats |
( |
| ) |
|
|
inline |
◆ getPoly()
| APolynomial * PrecisionOp::getPoly |
( |
const EPowerPT & |
power | ) |
|
|
protected |
◆ getPolyCoeffs()
◆ getRangeEigenVal()
| std::pair< double, double > PrecisionOp::getRangeEigenVal |
( |
int |
ndiscr = 100 | ) |
|
|
virtual |
◆ getShiftOp()
◆ getShiftOpCs()
| const ShiftOpCs* PrecisionOp::getShiftOpCs |
( |
| ) |
const |
|
inlineprotected |
◆ getSize()
| int PrecisionOp::getSize |
( |
| ) |
const |
|
inline |
◆ getTraining()
| bool PrecisionOp::getTraining |
( |
| ) |
const |
|
inline |
◆ gradYQX()
◆ gradYQXOptim()
◆ isCovaDefined()
| bool PrecisionOp::isCovaDefined |
( |
| ) |
const |
|
inline |
◆ makeReady()
| virtual void PrecisionOp::makeReady |
( |
| ) |
|
|
inlinevirtual |
◆ mustShowStats()
| void PrecisionOp::mustShowStats |
( |
bool |
status | ) |
const |
|
inline |
◆ operator=()
◆ 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()
◆ simulateOne()
◆ _cova
◆ _destroyShiftOp
| bool PrecisionOp::_destroyShiftOp |
|
private |
◆ _polynomials
| std::map<EPowerPT, APolynomial*> PrecisionOp::_polynomials |
|
private |
◆ _shiftOp
◆ _training
| bool PrecisionOp::_training |
|
private |
◆ _userPoly
| bool PrecisionOp::_userPoly |
|
private |
◆ _verbose
| bool PrecisionOp::_verbose |
|
private |
◆ _work
◆ _work2
◆ _work3
◆ _work4
◆ _work5
◆ _workPoly
The documentation for this class was generated from the following files: