This class is just a specialization of PrecisionOp when the shift Operator is built with sparse matrices and therefore algebra can be performed with Cholesky. It allows to return the precision matrix as a Sparse Matrix.
|
| PrecisionOpMatrix (ShiftOpMatrix *shiftop=nullptr, const CovAniso *cova=nullptr, bool verbose=false) |
|
| PrecisionOpMatrix (const AMesh *mesh, CovAniso *cova, bool verbose=false) |
|
virtual | ~PrecisionOpMatrix () |
|
void | evalInverse (const constvect vecin, std::vector< double > &vecout) override |
|
Id | _addSimulateToDest (const constvect whitenoise, vect outv) const override |
|
Id | _addToDest (const constvect inv, vect outv) const override |
|
double | computeLogDet (Id nMC=1) const override |
|
| extractDiag () const override |
|
void | evalDeriv (const constvect inv, vect outv, Id iapex, Id igparam, const EPowerPT &power) override |
|
void | evalDerivOptim (vect outv, Id iapex, Id igparam, const EPowerPT &power) override |
|
void | gradYQX (const constvect X, const constvect Y, vect result, const EPowerPT &power) override |
|
void | gradYQXOptim (const constvect X, const constvect Y, vect result, const EPowerPT &power) override |
|
const MatrixSparse * | getQ () const |
|
const MatrixSparse * | getS () const |
|
| 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 () |
|
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) |
|
| 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 () |
|
| 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 |
|
| 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 |
|