27#include <ql/math/interpolation.hpp>
28#include <ql/patterns/lazyobject.hpp>
41 const std::vector<Time>& times,
const std::vector<Handle<Quote>>& corrSpreads,
42 const bool useAtmReferenceVolsOnly =
false);
60 mutable std::vector<Real>
data_;
Correlation term structure.
Spreaded Correlation Curve.
Real correlationImpl(Time t, Real strike) const override
Correlation calculation.
void performCalculations() const override
Calendar calendar() const override
Time minTime() const override
The minimum time for which the curve can return values.
const Date & referenceDate() const override
std::vector< Time > times_
bool useAtmReferenceCorrsOnly_
Natural settlementDays() const override
Date maxDate() const override
QuantLib::ext::shared_ptr< Interpolation > interpolation_
Handle< CorrelationTermStructure > referenceCorrelation_
std::vector< Real > data_
std::vector< Handle< Quote > > corrSpreads_
Term structure of correlations.