Lattice2D Class Reference
[Lattice methods]

#include <ql/Lattices/lattice2d.hpp>

Inheritance diagram for Lattice2D:

Inheritance graph
[legend]
List of all members.

Detailed Description

Two-dimensional lattice.

This lattice is based on two trinomial trees and primarly used for the G2 short-rate model.


Public Member Functions

 Lattice2D (const boost::shared_ptr< TrinomialTree > &tree1, const boost::shared_ptr< TrinomialTree > &tree2, Real correlation)
Size size (Size i) const

Protected Member Functions

Size descendant (Size i, Size index, Size branch) const
 Tree properties.

Real probability (Size i, Size index, Size branch) const

Protected Attributes

boost::shared_ptr< Treetree1_
boost::shared_ptr< Treetree2_


QuantLib.org
QuantLib
Hosted by
SourceForge.net Logo
Documentation generated by
doxygen