22#ifndef quantlib_coterminalswapcurvestate_hpp
23#define quantlib_coterminalswapcurvestate_hpp
58 Size firstValidIndex = 0);
71 const std::vector<Rate>&
cmSwapRates(
Size spanningForwards)
const override;
73 std::unique_ptr<CurveState>
clone()
const override;
Curve state for coterminal-swap market models
const std::vector< Rate > & cmSwapRates(Size spanningForwards) const override
void setOnCoterminalSwapRates(const std::vector< Rate > &swapRates, Size firstValidIndex=0)
Real discountRatio(Size i, Size j) const override
std::vector< Rate > forwardRates_
Rate cmSwapAnnuity(Size numeraire, Size i, Size spanningForwards) const override
Rate coterminalSwapRate(Size i) const override
Rate forwardRate(Size i) const override
Rate cmSwapRate(Size i, Size spanningForwards) const override
std::vector< Rate > cmSwapRates_
std::vector< Rate > cotSwapRates_
Rate coterminalSwapAnnuity(Size numeraire, Size i) const override
std::vector< Real > cmSwapAnnuities_
const std::vector< Rate > & forwardRates() const override
std::vector< DiscountFactor > discRatios_
std::unique_ptr< CurveState > clone() const override
std::vector< Real > cotAnnuities_
const std::vector< Rate > & coterminalSwapRates() const override
Curve state for market-model simulations
const std::vector< Time > & rateTimes() const
std::size_t Size
size of a container