#include <qle/methods/fdmblackscholesop.hpp>
Public Member Functions | |
FdmBlackScholesOp (const ext::shared_ptr< FdmMesher > &mesher, const ext::shared_ptr< GeneralizedBlackScholesProcess > &process, Real strike=Null< Real >(), bool localVol=false, Real illegalLocalVolOverwrite=-Null< Real >(), Size direction=0, const ext::shared_ptr< FdmQuantoHelper > &quantoHelper=ext::shared_ptr< FdmQuantoHelper >(), const bool discounting=true, const bool ensureNonNegativeForwardVariance=false) | |
Size | size () const override |
void | setTime (Time t1, Time t2) override |
Array | apply (const Array &r) const override |
Array | apply_mixed (const Array &r) const override |
Array | apply_direction (Size direction, const Array &r) const override |
Array | solve_splitting (Size direction, const Array &r, Real s) const override |
Array | preconditioner (const Array &r, Real s) const override |
std::vector< QuantLib::SparseMatrix > | toMatrixDecomp () const override |
Private Attributes | |
const ext::shared_ptr< FdmMesher > | mesher_ |
const ext::shared_ptr< YieldTermStructure > | rTS_ |
const ext::shared_ptr< YieldTermStructure > | qTS_ |
const ext::shared_ptr< BlackVolTermStructure > | volTS_ |
const ext::shared_ptr< LocalVolTermStructure > | localVol_ |
const Array | x_ |
const FirstDerivativeOp | dxMap_ |
const TripleBandLinearOp | dxxMap_ |
TripleBandLinearOp | mapT_ |
const Real | strike_ |
const Real | illegalLocalVolOverwrite_ |
const Size | direction_ |
const ext::shared_ptr< FdmQuantoHelper > | quantoHelper_ |
const Real | initialValue_ |
const bool | discounting_ |
const bool | ensureNonNegativeForwardVariance_ |
Definition at line 47 of file fdmblackscholesop.hpp.
FdmBlackScholesOp | ( | const ext::shared_ptr< FdmMesher > & | mesher, |
const ext::shared_ptr< GeneralizedBlackScholesProcess > & | process, | ||
Real | strike = Null<Real>() , |
||
bool | localVol = false , |
||
Real | illegalLocalVolOverwrite = -Null<Real>() , |
||
Size | direction = 0 , |
||
const ext::shared_ptr< FdmQuantoHelper > & | quantoHelper = ext::shared_ptr<FdmQuantoHelper>() , |
||
const bool | discounting = true , |
||
const bool | ensureNonNegativeForwardVariance = false |
||
) |
Definition at line 30 of file fdmblackscholesop.cpp.
|
override |
Definition at line 98 of file fdmblackscholesop.cpp.
|
override |
Definition at line 44 of file fdmblackscholesop.cpp.
|
override |
Definition at line 100 of file fdmblackscholesop.cpp.
|
override |
Definition at line 111 of file fdmblackscholesop.cpp.
|
override |
Definition at line 102 of file fdmblackscholesop.cpp.
|
override |
Definition at line 116 of file fdmblackscholesop.cpp.
|
override |
Definition at line 125 of file fdmblackscholesop.cpp.
|
override |
Definition at line 130 of file fdmblackscholesop.cpp.
|
private |
Definition at line 68 of file fdmblackscholesop.hpp.
|
private |
Definition at line 69 of file fdmblackscholesop.hpp.
|
private |
Definition at line 69 of file fdmblackscholesop.hpp.
|
private |
Definition at line 70 of file fdmblackscholesop.hpp.
|
private |
Definition at line 71 of file fdmblackscholesop.hpp.
|
private |
Definition at line 72 of file fdmblackscholesop.hpp.
|
private |
Definition at line 73 of file fdmblackscholesop.hpp.
|
private |
Definition at line 74 of file fdmblackscholesop.hpp.
|
private |
Definition at line 75 of file fdmblackscholesop.hpp.
|
private |
Definition at line 76 of file fdmblackscholesop.hpp.
|
private |
Definition at line 77 of file fdmblackscholesop.hpp.
|
private |
Definition at line 78 of file fdmblackscholesop.hpp.
|
private |
Definition at line 79 of file fdmblackscholesop.hpp.
|
private |
Definition at line 80 of file fdmblackscholesop.hpp.
|
private |
Definition at line 81 of file fdmblackscholesop.hpp.
|
private |
Definition at line 82 of file fdmblackscholesop.hpp.