23#ifndef quantext_flat_correlation_hpp
24#define quantext_flat_correlation_hpp
26#include <ql/math/comparison.hpp>
27#include <ql/quotes/simplequote.hpp>
28#include <ql/termstructure.hpp>
29#include <ql/time/daycounters/actual365fixed.hpp>
49 Date
maxDate()
const override {
return Date::maxDate(); }
50 Time
maxTime()
const override {
return QL_MAX_REAL; }
Correlation term structure.
Real correlation(Time t, Real strike=Null< Real >(), bool extrapolate=false) const
Flat correlation structure.
Handle< Quote > correlation_
const Handle< Quote > & quote() const
Date maxDate() const override
Time maxTime() const override
Real correlationImpl(Time, Real) const override
Correlation calculation.
Term structure of correlations.