QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Base class for equal jumps binomial tree. More...
#include <extendedbinomialtree.hpp>
Public Member Functions | |
ExtendedEqualJumpsBinomialTree (const ext::shared_ptr< StochasticProcess1D > &process, Time end, Size steps) | |
virtual | ~ExtendedEqualJumpsBinomialTree ()=default |
Real | underlying (Size i, Size index) const |
Real | probability (Size i, Size, Size branch) const |
Public Member Functions inherited from ExtendedBinomialTree< T > | |
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 | |
virtual Real | probUp (Time stepTime) const =0 |
virtual Real | dxStep (Time stepTime) const =0 |
Protected Member Functions inherited from ExtendedBinomialTree< T > | |
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 | dx_ |
Real | pu_ |
Real | pd_ |
Protected Attributes inherited from ExtendedBinomialTree< T > | |
Real | x0_ |
Time | dt_ |
ext::shared_ptr< StochasticProcess1D > | treeProcess_ |
Additional Inherited Members | |
Public Types inherited from ExtendedBinomialTree< T > | |
enum | Branches { branches = 2 } |
Base class for equal jumps binomial tree.
Definition at line 99 of file extendedbinomialtree.hpp.
ExtendedEqualJumpsBinomialTree | ( | const ext::shared_ptr< StochasticProcess1D > & | process, |
Time | end, | ||
Size | steps | ||
) |
Definition at line 101 of file extendedbinomialtree.hpp.
|
virtualdefault |
Implemented in ExtendedCoxRossRubinstein, and ExtendedTrigeorgis.
Implemented in ExtendedCoxRossRubinstein, and ExtendedTrigeorgis.
|
protected |
Definition at line 127 of file extendedbinomialtree.hpp.
|
protected |
Definition at line 127 of file extendedbinomialtree.hpp.
|
protected |
Definition at line 127 of file extendedbinomialtree.hpp.