ZeroCurve Class Reference
[Term structures]

#include <ql/TermStructures/zerocurve.hpp>

Inheritance diagram for ZeroCurve:

Inheritance graph
[legend]
List of all members.

Detailed Description

Term structure based on linear interpolation of zero yields.


Public Member Functions

 ZeroCurve (const Date &todaysDate, const std::vector< Date > &dates, const std::vector< Rate > &yields, const DayCounter &dayCounter=Actual365())
DayCounter dayCounter () const
 the day counter used for date/time conversion

Date todaysDate () const
 today's date

Date referenceDate () const
 the reference date, i.e., the date at which discount = 1

const std::vector< Date > & dates () const
Date maxDate () const
 the latest date for which the curve can return rates

const std::vector< Time > & times () const
Time maxTime () const
 the latest time for which the curve can return rates


Protected Member Functions

Rate zeroYieldImpl (Time t) const
 zero-yield calculation


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