QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <fdmcirop.hpp>
Public Member Functions | |
FdmCIROp (const ext::shared_ptr< FdmMesher > &mesher, const ext::shared_ptr< CoxIngersollRossProcess > &cirProcess, const ext::shared_ptr< GeneralizedBlackScholesProcess > &bsProcess, Real rho, Real strike) | |
Size | size () const override |
void | setTime (Time t1, Time t2) override |
Time \(t1 <= t2\) is required. More... | |
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< SparseMatrix > | toMatrixDecomp () const override |
Public Member Functions inherited from FdmLinearOpComposite | |
virtual Size | size () const =0 |
virtual void | setTime (Time t1, Time t2)=0 |
Time \(t1 <= t2\) is required. More... | |
virtual Array | apply_mixed (const Array &r) const =0 |
virtual Array | apply_direction (Size direction, const Array &r) const =0 |
virtual Array | solve_splitting (Size direction, const Array &r, Real s) const =0 |
virtual Array | preconditioner (const Array &r, Real s) const =0 |
virtual std::vector< SparseMatrix > | toMatrixDecomp () const |
SparseMatrix | toMatrix () const override |
Public Member Functions inherited from FdmLinearOp | |
virtual | ~FdmLinearOp ()=default |
virtual array_type | apply (const array_type &r) const =0 |
virtual SparseMatrix | toMatrix () const =0 |
Private Attributes | |
FdmCIREquityPart | dxMap_ |
FdmCIRRatesPart | dyMap_ |
FdmCIRMixedPart | dzMap_ |
Additional Inherited Members | |
Public Types inherited from FdmLinearOp | |
typedef Array | array_type |
Definition at line 96 of file fdmcirop.hpp.
FdmCIROp | ( | const ext::shared_ptr< FdmMesher > & | mesher, |
const ext::shared_ptr< CoxIngersollRossProcess > & | cirProcess, | ||
const ext::shared_ptr< GeneralizedBlackScholesProcess > & | bsProcess, | ||
Real | rho, | ||
Real | strike | ||
) |
Definition at line 98 of file fdmcirop.cpp.
|
overridevirtual |
Implements FdmLinearOpComposite.
Definition at line 125 of file fdmcirop.cpp.
Time \(t1 <= t2\) is required.
Implements FdmLinearOpComposite.
Definition at line 119 of file fdmcirop.cpp.
Implements FdmLinearOp.
Definition at line 129 of file fdmcirop.cpp.
Implements FdmLinearOpComposite.
Definition at line 147 of file fdmcirop.cpp.
Implements FdmLinearOpComposite.
Definition at line 137 of file fdmcirop.cpp.
Implements FdmLinearOpComposite.
Definition at line 151 of file fdmcirop.cpp.
Implements FdmLinearOpComposite.
Definition at line 163 of file fdmcirop.cpp.
|
overridevirtual |
Reimplemented from FdmLinearOpComposite.
Definition at line 167 of file fdmcirop.cpp.
|
private |
Definition at line 117 of file fdmcirop.hpp.
|
private |
Definition at line 118 of file fdmcirop.hpp.
|
private |
Definition at line 119 of file fdmcirop.hpp.