QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Additive equal probabilities binomial tree. More...
#include <binomialtree.hpp>
Public Member Functions | |
AdditiveEQPBinomialTree (const ext::shared_ptr< StochasticProcess1D > &, Time end, Size steps, Real strike) | |
Public Member Functions inherited from EqualProbabilitiesBinomialTree< AdditiveEQPBinomialTree > | |
EqualProbabilitiesBinomialTree (const ext::shared_ptr< StochasticProcess1D > &process, Time end, Size steps) | |
Real | underlying (Size i, Size index) const |
Real | probability (Size, Size, Size) const |
Public Member Functions inherited from BinomialTree< T > | |
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 |
Additional Inherited Members | |
Public Types inherited from BinomialTree< T > | |
enum | Branches { branches = 2 } |
Protected Member Functions inherited from CuriouslyRecurringTemplate< T > | |
CuriouslyRecurringTemplate ()=default | |
~CuriouslyRecurringTemplate ()=default | |
T & | impl () |
const T & | impl () const |
Protected Attributes inherited from EqualProbabilitiesBinomialTree< AdditiveEQPBinomialTree > | |
Real | up_ |
Protected Attributes inherited from BinomialTree< T > | |
Real | x0_ |
Real | driftPerStep_ |
Time | dt_ |
Additive equal probabilities binomial tree.
Definition at line 129 of file binomialtree.hpp.
AdditiveEQPBinomialTree | ( | const ext::shared_ptr< StochasticProcess1D > & | process, |
Time | end, | ||
Size | steps, | ||
Real | strike | ||
) |
Definition at line 51 of file binomialtree.cpp.