#include <PrecisionOp.hpp>
Public Member Functions | |
| PrecisionOp () | |
| PrecisionOp (AShiftOp *shiftop, const CovAniso *cova, bool verbose=false) | |
| PrecisionOp (const AMesh *mesh, CovAniso *cova, bool stencil=false, bool verbose=false) | |
| PrecisionOp (const PrecisionOp &pmat) | |
| PrecisionOp & | operator= (const PrecisionOp &pmat) |
| virtual | ~PrecisionOp () |
| virtual void | evalInverse (const constvect vecin, std::vector< double > &vecout) |
| std::vector< double > | evalInverse (const 1 &vecin) |
| virtual std::pair< double, double > | getRangeEigenVal (Id ndiscr=100) |
| Id | reset (const AShiftOp *shiftop, const CovAniso *cova=nullptr, bool verbose=false) |
| 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, Id, Id, const EPowerPT &) |
| virtual void | evalDerivOptim (vect, Id, Id, const EPowerPT &) |
| simulate (Id nbsimu=1) | |
| void | evalPower (const constvect inm, vect outm, const EPowerPT &power=EPowerPT::fromKey("ONE")) |
| void | evalPower (const 1 &inv, 1 &outv, const EPowerPT &power=EPowerPT::fromKey("ONE")) |
| computeCov (Id imesh) | |
| simulateOne () | |
| Id | getSize () const override |
| bool | getTraining () const |
| void | setTraining (bool tr) |
| AShiftOp * | getShiftOp () const |
| getPolyCoeffs (const EPowerPT &power) | |
| void | setPolynomialFromPoly (APolynomial *polynomial) |
| bool | isCovaDefined () const |
| getCoeffs () | |
| double | computeLogDet (Id nMC=1) const override |
| virtual | extractDiag () const |
Public Member Functions inherited from gstlrn::ASimulable | |
| ASimulable () | |
| virtual | ~ASimulable () |
| Id | evalSimulate (const 1 &whitenoise, 1 &outv) const |
| evalSimulate (const 1 &whitenoise) const | |
| simulate () const | |
| Id | evalSimulate (const constvect whitenoise, vect result) const |
| Id | addSimulateToDest (const constvect whitenoise, vect outv) const |
Public Member Functions inherited from gstlrn::ALinearOp | |
| ALinearOp () | |
| ALinearOp (const ALinearOp &m)=delete | |
| ALinearOp & | operator= (const ALinearOp &m)=delete |
| virtual | ~ALinearOp () |
| Id | evalDirect (const 1 &inv, 1 &outv) const |
| evalDirect (const 1 &in) const | |
| virtual void | multiplyByValueAndAddDiagonal (double v1=1., double v2=0.) const |
| virtual void | resetModif () const |
| void | setUseFactor (bool usefactor) |
| Id | evalDirect (constvect inv, vect outv) const |
| Id | addToDest (const constvect inv, vect outv) const |
| Id | addToDest (const ::Eigen::VectorXd &inv, ::Eigen::VectorXd &outv) const |
Static Public Member Functions | |
| static PrecisionOp * | createFromShiftOp (AShiftOp *shiftop=nullptr, const CovAniso *cova=nullptr, bool verbose=false) |
| static PrecisionOp * | create (const AMesh *mesh, CovAniso *cova, bool stencil=false, bool verbose=false) |
| gstlrn::PrecisionOp::PrecisionOp | ( | ) |
| gstlrn::PrecisionOp::PrecisionOp | ( | AShiftOp * | shiftop, |
| const CovAniso * | cova, | ||
| bool | verbose = false |
||
| ) |
| gstlrn::PrecisionOp::PrecisionOp | ( | const AMesh * | mesh, |
| CovAniso * | cova, | ||
| bool | stencil = false, |
||
| bool | verbose = false |
||
| ) |
| gstlrn::PrecisionOp::PrecisionOp | ( | const PrecisionOp & | pmat | ) |
|
virtual |
| gstlrn::PrecisionOp::computeCov | ( | Id | imesh | ) |
|
overridevirtual |
Compute the Logarithm of the Determinant
| nMC | Number of Monte-Carlo simulations |
Reimplemented from gstlrn::ASimulable.
Reimplemented in gstlrn::PrecisionOpMatrix.
|
static |
|
static |
|
inlinevirtual |
Reimplemented in gstlrn::PrecisionOpMatrix.
|
inlinevirtual |
Reimplemented in gstlrn::PrecisionOpMatrix.
| std::vector< double > gstlrn::PrecisionOp::evalInverse | ( | const 1 & | vecin | ) |
|
virtual |
Reimplemented in gstlrn::PrecisionOpMatrix.
| void gstlrn::PrecisionOp::evalPower | ( | const 1 & | inv, |
| 1 & | outv, | ||
| const EPowerPT & | power = EPowerPT::fromKey("ONE") |
||
| ) |
| void gstlrn::PrecisionOp::evalPower | ( | const constvect | inm, |
| vect | outm, | ||
| const EPowerPT & | power = EPowerPT::fromKey("ONE") |
||
| ) |
Evaluate with power = ONE
| inm | Input array |
| outm | Output array |
| power | Power of the operation |
|
virtual |
Reimplemented in gstlrn::PrecisionOpMatrix.
| gstlrn::PrecisionOp::getCoeffs | ( | ) |
| gstlrn::PrecisionOp::getPolyCoeffs | ( | const EPowerPT & | power | ) |
|
virtual |
|
inline |
|
inlineoverridevirtual |
Implements gstlrn::ALinearOp.
|
inline |
|
inlinevirtual |
Reimplemented in gstlrn::PrecisionOpMatrix.
|
inlinevirtual |
Reimplemented in gstlrn::PrecisionOpMatrix.
|
inline |
| PrecisionOp & gstlrn::PrecisionOp::operator= | ( | const PrecisionOp & | pmat | ) |
| Id gstlrn::PrecisionOp::reset | ( | const AShiftOp * | shiftop, |
| const CovAniso * | cova = nullptr, |
||
| bool | verbose = false |
||
| ) |
| void gstlrn::PrecisionOp::setPolynomialFromPoly | ( | APolynomial * | polynomial | ) |
|
inline |
| gstlrn::PrecisionOp::simulate | ( | Id | nbsimu = 1 | ) |
| gstlrn::PrecisionOp::simulateOne | ( | ) |