QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Member Functions | List of all members
AdditiveEQPBinomialTree Class Reference

Additive equal probabilities binomial tree. More...

#include <ql/methods/lattices/binomialtree.hpp>

+ Inheritance diagram for AdditiveEQPBinomialTree:
+ Collaboration diagram for AdditiveEQPBinomialTree:

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_
 

Detailed Description

Additive equal probabilities binomial tree.

Definition at line 129 of file binomialtree.hpp.

Constructor & Destructor Documentation

◆ AdditiveEQPBinomialTree()

AdditiveEQPBinomialTree ( const ext::shared_ptr< StochasticProcess1D > &  process,
Time  end,
Size  steps,
Real  strike 
)

Definition at line 51 of file binomialtree.cpp.