27#ifndef quantlib_exp_correlations_hpp
28#define quantlib_exp_correlations_hpp
42 Real longTermCorr = 0.5,
51 Real longTermCorr = 0.5,
54 std::vector<Time>
times = std::vector<Time>());
55 const std::vector<Time>&
times()
const override;
56 const std::vector<Time>&
rateTimes()
const override;
57 const std::vector<Matrix>&
correlations()
const override;
const std::vector< Time > & rateTimes() const override
const std::vector< Time > & times() const override
std::vector< Time > times_
std::vector< Time > rateTimes_
const std::vector< Matrix > & correlations() const override
Size numberOfRates() const override
std::vector< Matrix > correlations_
Real Time
continuous quantity with 1-year units
std::size_t Size
size of a container
matrix used in linear algebra.
Matrix exponentialCorrelations(const std::vector< Time > &rateTimes, Real longTermCorr, Real beta, Real gamma, Time time)