SysTutorials

Linux Manual Pages › Section 3

quantlib_treecapfloorengine(3)

QuantLib::TreeCapFloorEngine – Numerical lattice engine for cap/floors.

Synopsis

#include <ql/pricingengines/capfloor/treecapfloorengine.hpp>

Inherits LatticeShortRateModelEngine< CapFloor::arguments, CapFloor::results >.

Public Member Functions

void calculate () const

Constructors
Note:

the term structure is only needed when the short-rate model cannot provide one itself.

TreeCapFloorEngine (const boost::shared_ptr< ShortRateModel > &model, Size timeSteps, const Handle< YieldTermStructure > &termStructure=Handle< YieldTermStructure >())

TreeCapFloorEngine (const boost::shared_ptr< ShortRateModel > &model, const TimeGrid &timeGrid, const Handle< YieldTermStructure > &termStructure=Handle< YieldTermStructure >())

Detailed Description

Numerical lattice engine for cap/floors.

Author

Generated automatically by Doxygen for QuantLib from the source code.