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.
|
| PrecisionOpCs (ShiftOpCs *shiftop=nullptr, const CovAniso *cova=nullptr, bool flagDecompose=false, bool verbose=false) |
|
| PrecisionOpCs (const AMesh *mesh, Model *model, int icov=0, bool flagDecompose=false, const CGParam params=CGParam(), bool verbose=false) |
|
virtual | ~PrecisionOpCs () |
|
void | evalDirect (const VectorDouble &vecin, VectorDouble &vecout) override |
|
void | evalSimulate (VectorDouble &whitenoise, VectorDouble &vecout) override |
|
void | evalInverse (VectorDouble &vecin, VectorDouble &vecout) override |
|
void | makeReady () override |
|
double | getLogDeterminant (int nbsimu=1, int seed=0) override |
|
void | evalDeriv (const VectorDouble &inv, VectorDouble &outv, int iapex, int igparam, const EPowerPT &power) override |
|
void | evalDerivOptim (VectorDouble &outv, int iapex, int igparam, const EPowerPT &power) override |
|
void | gradYQX (const VectorDouble &X, const VectorDouble &Y, VectorDouble &result, const EPowerPT &power) override |
|
void | gradYQXOptim (const VectorDouble &X, const VectorDouble &Y, VectorDouble &result, const EPowerPT &power) override |
|
MatrixSparse * | getQ () const |
|
| 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 std::pair< double, double > | getRangeEigenVal (int ndiscr=100) |
|
int | reset (const ShiftOpCs *shiftop, const CovAniso *cova=nullptr, bool verbose=false) |
|
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 () |
|