One-dimensional tree-based lattice. More...
#include <ql/methods/lattices/lattice1d.hpp>
Public Member Functions | |
TreeLattice1D (const TimeGrid &timeGrid, Size n) | |
Disposable< Array > | grid (Time t) const |
Real | underlying (Size i, Size index) const |
![]() | |
TreeLattice (const TimeGrid &timeGrid, Size n) | |
void | initialize (DiscretizedAsset &, Time t) const |
initialize an asset at the given time. | |
void | rollback (DiscretizedAsset &, Time to) const |
void | partialRollback (DiscretizedAsset &, Time to) const |
Real | presentValue (DiscretizedAsset &) const |
Computes the present value of an asset using Arrow-Debrew prices. | |
const Array & | statePrices (Size i) const |
void | stepback (Size i, const Array &values, Array &newValues) const |
![]() | |
Lattice (const TimeGrid &timeGrid) | |
const TimeGrid & | timeGrid () const |
Additional Inherited Members | |
![]() | |
void | computeStatePrices (Size until) const |
![]() | |
Impl & | impl () |
const Impl & | impl () const |
![]() | |
std::vector< Array > | statePrices_ |
![]() | |
TimeGrid | t_ |