QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Binomial tree base class. More...
#include <binomialtree.hpp>
Public Types | |
enum | Branches { branches = 2 } |
Public Member Functions | |
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 | x0_ |
Real | driftPerStep_ |
Time | dt_ |
Additional Inherited Members | |
Protected Member Functions inherited from CuriouslyRecurringTemplate< T > | |
CuriouslyRecurringTemplate ()=default | |
~CuriouslyRecurringTemplate ()=default | |
T & | impl () |
const T & | impl () const |
Binomial tree base class.
Definition at line 39 of file binomialtree.hpp.
enum Branches |
Enumerator | |
---|---|
branches |
Definition at line 41 of file binomialtree.hpp.
BinomialTree | ( | const ext::shared_ptr< StochasticProcess1D > & | process, |
Time | end, | ||
Size | steps | ||
) |
Definition at line 42 of file binomialtree.hpp.
Definition at line 48 of file binomialtree.hpp.
Definition at line 51 of file binomialtree.hpp.
|
protected |
Definition at line 55 of file binomialtree.hpp.
|
protected |
Definition at line 55 of file binomialtree.hpp.
|
protected |
Definition at line 56 of file binomialtree.hpp.