#include <qle/methods/fdmdefaultableequityjumpdiffusionop.hpp>
Public Member Functions | |
FdmDefaultableEquityJumpDiffusionOp (const QuantLib::ext::shared_ptr< QuantLib::FdmMesher > &mesher, const QuantLib::ext::shared_ptr< DefaultableEquityJumpDiffusionModel > &model, const Size direction=0, const std::function< Real(Real, Real, Real)> &recovery={}, const Handle< QuantLib::YieldTermStructure > &discountingCurve=Handle< QuantLib::YieldTermStructure >(), const Handle< QuantLib::Quote > &discountingSpread=Handle< QuantLib::Quote >(), const Handle< QuantLib::DefaultProbabilityTermStructure > &addCreditCurve=Handle< QuantLib::DefaultProbabilityTermStructure >(), const std::function< Real(Real, Real, Real)> &addRecovery={}) | |
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 |
void | setConversionRatio (const std::function< Real(Real)> &conversionRatio) |
Private Attributes | |
QuantLib::ext::shared_ptr< QuantLib::FdmMesher > | mesher_ |
QuantLib::ext::shared_ptr< DefaultableEquityJumpDiffusionModel > | model_ |
Size | direction_ |
std::function< Real(Real, Real, Real)> | recovery_ |
Handle< QuantLib::YieldTermStructure > | discountingCurve_ |
Handle< QuantLib::DefaultProbabilityTermStructure > | addCreditCurve_ |
std::function< Real(Real, Real, Real)> | addRecovery_ |
Handle< QuantLib::Quote > | discountingSpread_ |
QuantLib::FirstDerivativeOp | dxMap_ |
QuantLib::TripleBandLinearOp | dxxMap_ |
QuantLib::TripleBandLinearOp | mapT_ |
Array | recoveryTerm_ |
std::function< Real(Real)> | conversionRatio_ |
Definition at line 34 of file fdmdefaultableequityjumpdiffusionop.hpp.
FdmDefaultableEquityJumpDiffusionOp | ( | const QuantLib::ext::shared_ptr< QuantLib::FdmMesher > & | mesher, |
const QuantLib::ext::shared_ptr< DefaultableEquityJumpDiffusionModel > & | model, | ||
const Size | direction = 0 , |
||
const std::function< Real(Real, Real, Real)> & | recovery = {} , |
||
const Handle< QuantLib::YieldTermStructure > & | discountingCurve = Handle<QuantLib::YieldTermStructure>() , |
||
const Handle< QuantLib::Quote > & | discountingSpread = Handle<QuantLib::Quote>() , |
||
const Handle< QuantLib::DefaultProbabilityTermStructure > & | addCreditCurve = Handle<QuantLib::DefaultProbabilityTermStructure>() , |
||
const std::function< Real(Real, Real, Real)> & | addRecovery = {} |
||
) |
Definition at line 27 of file fdmdefaultableequityjumpdiffusionop.cpp.
|
override |
Definition at line 39 of file fdmdefaultableequityjumpdiffusionop.cpp.
|
override |
Definition at line 41 of file fdmdefaultableequityjumpdiffusionop.cpp.
|
override |
Definition at line 97 of file fdmdefaultableequityjumpdiffusionop.cpp.
|
override |
Definition at line 101 of file fdmdefaultableequityjumpdiffusionop.cpp.
|
override |
Definition at line 106 of file fdmdefaultableequityjumpdiffusionop.cpp.
|
override |
Definition at line 115 of file fdmdefaultableequityjumpdiffusionop.cpp.
|
override |
Definition at line 124 of file fdmdefaultableequityjumpdiffusionop.cpp.
|
override |
Definition at line 129 of file fdmdefaultableequityjumpdiffusionop.cpp.
void setConversionRatio | ( | const std::function< Real(Real)> & | conversionRatio | ) |
Definition at line 135 of file fdmdefaultableequityjumpdiffusionop.cpp.
|
private |
Definition at line 71 of file fdmdefaultableequityjumpdiffusionop.hpp.
|
private |
Definition at line 72 of file fdmdefaultableequityjumpdiffusionop.hpp.
|
private |
Definition at line 73 of file fdmdefaultableequityjumpdiffusionop.hpp.
|
private |
Definition at line 74 of file fdmdefaultableequityjumpdiffusionop.hpp.
|
private |
Definition at line 75 of file fdmdefaultableequityjumpdiffusionop.hpp.
|
private |
Definition at line 76 of file fdmdefaultableequityjumpdiffusionop.hpp.
|
private |
Definition at line 77 of file fdmdefaultableequityjumpdiffusionop.hpp.
|
private |
Definition at line 78 of file fdmdefaultableequityjumpdiffusionop.hpp.
|
private |
Definition at line 80 of file fdmdefaultableequityjumpdiffusionop.hpp.
|
private |
Definition at line 81 of file fdmdefaultableequityjumpdiffusionop.hpp.
|
private |
Definition at line 82 of file fdmdefaultableequityjumpdiffusionop.hpp.
|
private |
Definition at line 83 of file fdmdefaultableequityjumpdiffusionop.hpp.
|
private |
Definition at line 85 of file fdmdefaultableequityjumpdiffusionop.hpp.