DefaultProbabilityTermStructure based on interpolation of survival probabilities.
More...
#include <qle/termstructures/interpolatedsurvivalprobabilitycurve.hpp>
|
| | InterpolatedSurvivalProbabilityCurve (const std::vector< Date > &dates, const std::vector< Probability > &probabilities, const DayCounter &dayCounter, const Calendar &calendar=Calendar(), const std::vector< Handle< Quote > > &jumps=std::vector< Handle< Quote > >(), const std::vector< Date > &jumpDates=std::vector< Date >(), const Interpolator &interpolator=Interpolator(), const bool allowNegativeRates=false) |
| |
|
| Date | maxDate () const override |
| |
|
| const std::vector< Time > & | times () const |
| |
| const std::vector< Date > & | dates () const |
| |
| const std::vector< Real > & | data () const |
| |
| const std::vector< Probability > & | survivalProbabilities () const |
| |
| std::vector< std::pair< Date, Real > > | nodes () const |
| |
| | InterpolatedSurvivalProbabilityCurve (const DayCounter &, const std::vector< Handle< Quote > > &jumps=std::vector< Handle< Quote > >(), const std::vector< Date > &jumpDates=std::vector< Date >(), const Interpolator &interpolator=Interpolator(), const bool allowNegativeRates=false) |
| |
| | InterpolatedSurvivalProbabilityCurve (const Date &referenceDate, const DayCounter &, const std::vector< Handle< Quote > > &jumps=std::vector< Handle< Quote > >(), const std::vector< Date > &jumpDates=std::vector< Date >(), const Interpolator &interpolator=Interpolator(), const bool allowNegativeRates=false) |
| |
| | InterpolatedSurvivalProbabilityCurve (Natural settlementDays, const Calendar &, const DayCounter &, const std::vector< Handle< Quote > > &jumps=std::vector< Handle< Quote > >(), const std::vector< Date > &jumpDates=std::vector< Date >(), const Interpolator &interpolator=Interpolator(), const bool allowNegativeRates=false) |
| |
template<class Interpolator>
class QuantExt::InterpolatedSurvivalProbabilityCurve< Interpolator >
DefaultProbabilityTermStructure based on interpolation of survival probabilities.
Definition at line 54 of file interpolatedsurvivalprobabilitycurve.hpp.
◆ InterpolatedSurvivalProbabilityCurve() [1/4]
| InterpolatedSurvivalProbabilityCurve |
( |
const std::vector< Date > & |
dates, |
|
|
const std::vector< Probability > & |
probabilities, |
|
|
const DayCounter & |
dayCounter, |
|
|
const Calendar & |
calendar = Calendar(), |
|
|
const std::vector< Handle< Quote > > & |
jumps = std::vector< Handle< Quote > >(), |
|
|
const std::vector< Date > & |
jumpDates = std::vector< Date >(), |
|
|
const Interpolator & |
interpolator = Interpolator(), |
|
|
const bool |
allowNegativeRates = false |
|
) |
| |
◆ InterpolatedSurvivalProbabilityCurve() [2/4]
| InterpolatedSurvivalProbabilityCurve |
( |
const DayCounter & |
, |
|
|
const std::vector< Handle< Quote > > & |
jumps = std::vector< Handle< Quote > >(), |
|
|
const std::vector< Date > & |
jumpDates = std::vector< Date >(), |
|
|
const Interpolator & |
interpolator = Interpolator(), |
|
|
const bool |
allowNegativeRates = false |
|
) |
| |
|
protected |
◆ InterpolatedSurvivalProbabilityCurve() [3/4]
| InterpolatedSurvivalProbabilityCurve |
( |
const Date & |
referenceDate, |
|
|
const DayCounter & |
, |
|
|
const std::vector< Handle< Quote > > & |
jumps = std::vector< Handle< Quote > >(), |
|
|
const std::vector< Date > & |
jumpDates = std::vector< Date >(), |
|
|
const Interpolator & |
interpolator = Interpolator(), |
|
|
const bool |
allowNegativeRates = false |
|
) |
| |
|
protected |
◆ InterpolatedSurvivalProbabilityCurve() [4/4]
| InterpolatedSurvivalProbabilityCurve |
( |
Natural |
settlementDays, |
|
|
const Calendar & |
, |
|
|
const DayCounter & |
, |
|
|
const std::vector< Handle< Quote > > & |
jumps = std::vector< Handle< Quote > >(), |
|
|
const std::vector< Date > & |
jumpDates = std::vector< Date >(), |
|
|
const Interpolator & |
interpolator = Interpolator(), |
|
|
const bool |
allowNegativeRates = false |
|
) |
| |
|
protected |
◆ maxDate()
◆ times()
| const std::vector< Time > & times |
◆ dates()
| const std::vector< Date > & dates |
◆ data()
| const std::vector< Real > & data |
◆ survivalProbabilities()
| const std::vector< Probability > & survivalProbabilities |
◆ nodes()
| std::vector< std::pair< Date, Real > > nodes |
◆ survivalProbabilityImpl()
| Probability survivalProbabilityImpl |
( |
Time |
| ) |
const |
|
overrideprotected |
◆ defaultDensityImpl()
| Real defaultDensityImpl |
( |
Time |
| ) |
const |
|
overrideprotected |
◆ dates_
◆ allowNegativeRates_