27#ifndef quantlib_default_term_structure_hpp
28#define quantlib_default_term_structure_hpp
74 bool extrapolate =
false)
const;
79 bool extrapolate =
false)
const;
90 bool extrapolate =
false)
const;
95 bool extrapolate =
false)
const;
99 bool extrapolate =
false)
const;
103 bool extrapo =
false)
const;
114 bool extrapolate =
false)
const;
116 bool extrapolate =
false)
const;
131 bool extrapolate =
false)
const;
133 bool extrapolate =
false)
const;
138 const std::vector<Date>&
jumpDates()
const;
139 const std::vector<Time>&
jumpTimes()
const;
180 bool extrapolate)
const {
187 bool extrapolate)
const {
194 bool extrapolate)
const {
201 bool extrapolate)
const {
208 bool extrapolate)
const {
215 bool extrapolate)
const {
226 bool extrapolate)
const {
232 const std::vector<Date>&
238 const std::vector<Time>&
Default probability term structure.
Probability survivalProbability(const Date &d, bool extrapolate=false) const
virtual Probability survivalProbabilityImpl(Time) const =0
survival probability calculation
std::vector< Date > jumpDates_
std::vector< Time > jumpTimes_
virtual Real defaultDensityImpl(Time) const =0
default density calculation
Probability defaultProbability(const Date &d, bool extrapolate=false) const
const std::vector< Time > & jumpTimes() const
Rate hazardRate(const Date &d, bool extrapolate=false) const
Real defaultDensity(const Date &d, bool extrapolate=false) const
const std::vector< Date > & jumpDates() const
std::vector< Handle< Quote > > jumps_
virtual Real hazardRateImpl(Time) const
hazard rate calculation
Shared handle to an observable.
Basic term-structure functionality.
virtual Natural settlementDays() const
the settlementDays used for reference date calculation
virtual const Date & referenceDate() const
the date at which discount = 1.0 and/or variance = 0.0
Time timeFromReference(const Date &date) const
date/time conversion
void checkRange(const Date &d, bool extrapolate) const
date-range check
Real Time
continuous quantity with 1-year units
unsigned QL_INTEGER Natural
positive integer
Real Probability
probability
std::size_t Size
size of a container
purely virtual base class for market observables
base class for term structures