24#ifndef quantlib_fdm_g2_op_hpp
25#define quantlib_fdm_g2_op_hpp
40 const ext::shared_ptr<FdmMesher>& mesher,
41 const ext::shared_ptr<G2>& model,
1-D array used in linear algebra.
Size size() const override
const TripleBandLinearOp dxMap_
Array apply_direction(Size direction, const Array &r) const override
Array preconditioner(const Array &r, Real s) const override
std::vector< SparseMatrix > toMatrixDecomp() const override
const TripleBandLinearOp dyMap_
void setTime(Time t1, Time t2) override
Time is required.
Array apply_mixed(const Array &r) const override
Array solve_splitting(Size direction, const Array &r, Real s) const override
NinePointLinearOp corrMap_
Array apply(const Array &r) const override
const ext::shared_ptr< G2 > model_
composite pattern for linear operators
Real Time
continuous quantity with 1-year units
std::size_t Size
size of a container
nine point linear operator
ext::shared_ptr< YieldTermStructure > r
general triple band linear operator