CorrelationTermStructure based on interpolation of correlations.
More...
#include <qle/termstructures/interpolatedcorrelationcurve.hpp>
|
| InterpolatedCorrelationCurve (const std::vector< Time > ×, const std::vector< Handle< Quote > > &correlations, const DayCounter &dayCounter, const Calendar &calendar, const Interpolator &interpolator=Interpolator()) |
|
|
Date | maxDate () const override |
|
Time | maxTime () const override |
|
|
void | update () override |
|
| CorrelationTermStructure (const DayCounter &dc=DayCounter()) |
|
| CorrelationTermStructure (const Date &referenceDate, const Calendar &cal=Calendar(), const DayCounter &dc=DayCounter()) |
|
| CorrelationTermStructure (Natural settlementDays, const Calendar &cal, const DayCounter &dc=DayCounter()) |
|
Real | correlation (Time t, Real strike=Null< Real >(), bool extrapolate=false) const |
|
Real | correlation (const Date &d, Real strike=Null< Real >(), bool extrapolate=false) const |
|
virtual Time | minTime () const |
| The minimum time for which the curve can return values. More...
|
|
|
virtual void | checkRange (Time t, Real strike, bool extrapolate) const |
| Extra time range check for minimum time, then calls TermStructure::checkRange. More...
|
|
template<class Interpolator>
class QuantExt::InterpolatedCorrelationCurve< Interpolator >
CorrelationTermStructure based on interpolation of correlations.
Definition at line 38 of file interpolatedcorrelationcurve.hpp.
◆ InterpolatedCorrelationCurve()
InterpolatedCorrelationCurve |
( |
const std::vector< Time > & |
times, |
|
|
const std::vector< Handle< Quote > > & |
correlations, |
|
|
const DayCounter & |
dayCounter, |
|
|
const Calendar & |
calendar, |
|
|
const Interpolator & |
interpolator = Interpolator() |
|
) |
| |
◆ maxDate()
◆ maxTime()
◆ update()
◆ performCalculations()
void performCalculations |
( |
| ) |
const |
|
overrideprivate |
◆ correlationImpl()
Real correlationImpl |
( |
Time |
t, |
|
|
Real |
strike |
|
) |
| const |
|
overrideprotectedvirtual |
◆ quotes_
std::vector<Handle<Quote> > quotes_ |
|
protected |