|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
#include <fdmwienerop.hpp>
Inheritance diagram for FdmWienerOp:
Collaboration diagram for FdmWienerOp:Public Member Functions | |
| FdmWienerOp (const ext::shared_ptr< FdmMesher > &mesher, ext::shared_ptr< YieldTermStructure > rTS, const Array &lambdas) | |
| Size | size () const override |
| void | setTime (Time t1, Time t2) override |
| Time \(t1 <= t2\) is required. More... | |
| Array | apply (const Array &x) const override |
| Array | apply_mixed (const Array &x) const override |
| Array | apply_direction (Size direction, const Array &x) const override |
| Array | solve_splitting (Size direction, const Array &x, 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 | |
| const ext::shared_ptr< YieldTermStructure > | rTS_ |
| std::vector< ext::shared_ptr< TripleBandLinearOp > > | ops_ |
| Rate | r_ = 0.0 |
Additional Inherited Members | |
Public Types inherited from FdmLinearOp | |
| typedef Array | array_type |
Definition at line 35 of file fdmwienerop.hpp.
| FdmWienerOp | ( | const ext::shared_ptr< FdmMesher > & | mesher, |
| ext::shared_ptr< YieldTermStructure > | rTS, | ||
| const Array & | lambdas | ||
| ) |
|
overridevirtual |
Implements FdmLinearOpComposite.
Definition at line 50 of file fdmwienerop.cpp.
Time \(t1 <= t2\) is required.
Implements FdmLinearOpComposite.
Definition at line 54 of file fdmwienerop.cpp.
Implements FdmLinearOp.
Definition at line 59 of file fdmwienerop.cpp.
Implements FdmLinearOpComposite.
Definition at line 67 of file fdmwienerop.cpp.
Here is the call graph for this function:Implements FdmLinearOpComposite.
Definition at line 71 of file fdmwienerop.cpp.
Implements FdmLinearOpComposite.
Definition at line 75 of file fdmwienerop.cpp.
Here is the caller graph for this function:Implements FdmLinearOpComposite.
Definition at line 81 of file fdmwienerop.cpp.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from FdmLinearOpComposite.
Definition at line 85 of file fdmwienerop.cpp.
|
private |
Definition at line 55 of file fdmwienerop.hpp.
|
private |
Definition at line 56 of file fdmwienerop.hpp.
|
private |
Definition at line 57 of file fdmwienerop.hpp.