24#ifndef quantlib_fdm_cir_op_hpp
25#define quantlib_fdm_cir_op_hpp
43 const ext::shared_ptr<FdmMesher>& mesher,
44 const ext::shared_ptr<GeneralizedBlackScholesProcess> & bsProcess,
56 const ext::shared_ptr<YieldTermStructure>
qTS_;
58 const ext::shared_ptr<BlackVolTermStructure>
sigma1_;
64 const ext::shared_ptr<FdmMesher>& mesher,
79 const ext::shared_ptr<CoxIngersollRossProcess>& cirProcess,
80 const ext::shared_ptr<GeneralizedBlackScholesProcess>& bsProcess,
91 const ext::shared_ptr<BlackVolTermStructure>
sigma1_;
98 FdmCIROp(
const ext::shared_ptr<FdmMesher>& mesher,
99 const ext::shared_ptr<CoxIngersollRossProcess>& cirProcess,
100 const ext::shared_ptr<GeneralizedBlackScholesProcess>& bsProcess,
1-D array used in linear algebra.
void setTime(Time t1, Time t2)
const TripleBandLinearOp & getMap() const
const TripleBandLinearOp dxxMap_
const ext::shared_ptr< YieldTermStructure > qTS_
const FirstDerivativeOp dxMap_
const ext::shared_ptr< FdmMesher > mesher_
const ext::shared_ptr< BlackVolTermStructure > sigma1_
void setTime(Time t1, Time t2)
const NinePointLinearOp & getMap() const
const ext::shared_ptr< FdmMesher > mesher_
const NinePointLinearOp dyMap_
const ext::shared_ptr< BlackVolTermStructure > sigma1_
Size size() const override
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
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
Array apply(const Array &r) const override
void setTime(Time t1, Time t2)
const TripleBandLinearOp & getMap() const
const TripleBandLinearOp dyMap_
const ext::shared_ptr< FdmMesher > mesher_
Cox-Ingersoll-Ross model.
CoxIngersollRoss process.
composite pattern for linear operators
helper class storing market data needed for the quanto adjustment.
first derivative linear operator
Real Time
continuous quantity with 1-year units
std::size_t Size
size of a container
Heston stochastic process.
Local volatility term structure base class.
nine point linear operator
ext::shared_ptr< YieldTermStructure > r
general triple band linear operator