26#ifndef quantlib_fdm_black_scholes_fwd_op_hpp
27#define quantlib_fdm_black_scholes_fwd_op_hpp
39 const ext::shared_ptr<FdmMesher>& mesher,
40 const ext::shared_ptr<GeneralizedBlackScholesProcess>& process,
42 bool localVol =
false,
58 const ext::shared_ptr<YieldTermStructure>
rTS_,
qTS_;
59 const ext::shared_ptr<BlackVolTermStructure>
volTS_;
60 const ext::shared_ptr<LocalVolTermStructure>
localVol_;
1-D array used in linear algebra.
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
const TripleBandLinearOp dxxMap_
void setTime(Time t1, Time t2) override
Time is required.
Array apply_mixed(const Array &r) const override
const ext::shared_ptr< YieldTermStructure > qTS_
const FirstDerivativeOp dxMap_
const ext::shared_ptr< FdmMesher > mesher_
Array solve_splitting(Size direction, const Array &r, Real s) const override
const ext::shared_ptr< YieldTermStructure > rTS_
const ext::shared_ptr< BlackVolTermStructure > volTS_
Array apply(const Array &r) const override
const ext::shared_ptr< LocalVolTermStructure > localVol_
const Real illegalLocalVolOverwrite_
template class providing a null value for a given type.
composite pattern for linear operators
first derivative linear operator
Real Time
continuous quantity with 1-year units
std::size_t Size
size of a container
ext::shared_ptr< YieldTermStructure > r
general triple band linear operator