QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
Loading...
Searching...
No Matches
BinomialTree< T > Class Template Reference

Binomial tree base class. More...

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

Inheritance diagram for BinomialTree< T >:

Public Types

enum  Branches { branches = 2 }

Public Member Functions

 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

Protected Attributes

Real x0_
Real driftPerStep_
Time dt_

Additional Inherited Members

Protected Member Functions inherited from CuriouslyRecurringTemplate< T >
T & impl ()

Detailed Description

template<class T>
class QuantLib::BinomialTree< T >

Binomial tree base class.