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