QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Base class for equal probabilities binomial tree. More...
#include <extendedbinomialtree.hpp>
Public Member Functions | |
ExtendedEqualProbabilitiesBinomialTree (const ext::shared_ptr< StochasticProcess1D > &process, Time end, Size steps) | |
virtual | ~ExtendedEqualProbabilitiesBinomialTree ()=default |
Real | underlying (Size i, Size index) const |
Real | probability (Size, Size, Size) 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 | upStep (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 | up_ |
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 probabilities binomial tree.
Definition at line 71 of file extendedbinomialtree.hpp.
ExtendedEqualProbabilitiesBinomialTree | ( | const ext::shared_ptr< StochasticProcess1D > & | process, |
Time | end, | ||
Size | steps | ||
) |
Definition at line 74 of file extendedbinomialtree.hpp.
|
virtualdefault |
Definition at line 88 of file extendedbinomialtree.hpp.
Implemented in ExtendedJarrowRudd, and ExtendedAdditiveEQPBinomialTree.
|
protected |
Definition at line 92 of file extendedbinomialtree.hpp.