#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 | 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) |
|
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 |
◆ 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()
◆ getLogDeterminant()
double PrecisionOp::getLogDeterminant |
( |
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.
◆ getLogStats()
const LogStats& PrecisionOp::getLogStats |
( |
| ) |
|
|
inline |
◆ getPolyCoeffs()
◆ getRangeEigenVal()
std::pair< double, double > PrecisionOp::getRangeEigenVal |
( |
int |
ndiscr = 100 | ) |
|
|
virtual |
◆ getShiftOp()
◆ 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()
The documentation for this class was generated from the following files: