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

Additive equal probabilities binomial tree. More...

#include <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
 
Timpl ()
 
const Timpl () 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.