|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
Leisen & Reimer tree: multiplicative approach. More...
#include <binomialtree.hpp>
Inheritance diagram for LeisenReimer:
Collaboration diagram for LeisenReimer:Public Member Functions | |
| LeisenReimer (const ext::shared_ptr< StochasticProcess1D > &, Time end, Size steps, Real strike) | |
| Real | underlying (Size i, Size index) const |
| Real | probability (Size, Size, Size branch) const |
Public Member Functions inherited from BinomialTree< LeisenReimer > | |
| BinomialTree (const ext::shared_ptr< StochasticProcess1D > &process, Time end, Size steps) | |
| Size | size (Size i) const |
| Size | descendant (Size, Size index, Size branch) const |
Public Member Functions inherited from Tree< T > | |
| Tree (Size columns) | |
| Size | columns () const |
Protected Attributes | |
| Real | up_ |
| Real | down_ |
| Real | pu_ |
| Real | pd_ |
Protected Attributes inherited from BinomialTree< LeisenReimer > | |
| Real | x0_ |
| Real | driftPerStep_ |
| Time | dt_ |
Additional Inherited Members | |
Public Types inherited from BinomialTree< LeisenReimer > | |
| enum | Branches |
Protected Member Functions inherited from CuriouslyRecurringTemplate< T > | |
| CuriouslyRecurringTemplate ()=default | |
| ~CuriouslyRecurringTemplate ()=default | |
| T & | impl () |
| const T & | impl () const |
Leisen & Reimer tree: multiplicative approach.
Definition at line 172 of file binomialtree.hpp.
| LeisenReimer | ( | const ext::shared_ptr< StochasticProcess1D > & | process, |
| Time | end, | ||
| Size | steps, | ||
| Real | strike | ||
| ) |
Definition at line 178 of file binomialtree.hpp.
Definition at line 182 of file binomialtree.hpp.
|
protected |
Definition at line 186 of file binomialtree.hpp.
|
protected |
Definition at line 186 of file binomialtree.hpp.
|
protected |
Definition at line 186 of file binomialtree.hpp.
|
protected |
Definition at line 186 of file binomialtree.hpp.