QuantLib_TimeBasket man page

TimeBasket — Distribution over a number of dates.


#include <ql/cashflows/timebasket.hpp>

Inherits map< K, T >.

Public Member Functions

TimeBasket (const std::vector< Date > &dates, const std::vector< Real > &values)


TimeBasket & operator+= (const TimeBasket &other)

TimeBasket & operator-= (const TimeBasket &other)

Other methods

TimeBasket rebin (const std::vector< Date > &buckets) const
redistribute the entries over the given dates

Map interface

typedef super::iterator iterator

typedef super::const_iterator const_iterator

typedef super::reverse_iterator reverse_iterator

typedef super::const_reverse_iterator const_reverse_iterator

bool hasDate (const Date &) const

Detailed Description

Distribution over a number of dates.


Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

hasDate(3), rebin(3) and TimeBasket(3) are aliases of QuantLib_TimeBasket(3).

QuantLib Version 1.8.1 Fri Sep 23 2016