25#ifndef quantext_sub_periods_coupon_pricer_hpp
26#define quantext_sub_periods_coupon_pricer_hpp
28#include <ql/cashflows/couponpricer.hpp>
45 Real
swapletPrice()
const override { QL_FAIL(
"swapletPrice not available"); }
46 Real
capletPrice(Rate)
const override { QL_FAIL(
"capletPrice not available"); }
47 Rate
capletRate(Rate)
const override { QL_FAIL(
"capletRate not available"); }
48 Real
floorletPrice(Rate)
const override { QL_FAIL(
"floorletPrice not available"); }
49 Rate
floorletRate(Rate)
const override { QL_FAIL(
"floorletRate not available"); }
55 QuantLib::ext::shared_ptr<InterestRateIndex>
index_;
Pricer for sub-period coupons.
const SubPeriodsCoupon1 * coupon_
void initialize(const FloatingRateCoupon &coupon) override
Rate floorletRate(Rate) const override
Rate capletRate(Rate) const override
QuantLib::ext::shared_ptr< InterestRateIndex > index_
Real floorletPrice(Rate) const override
SubPeriodsCouponPricer1()
SubPeriodsCoupon1::Type type_
Real capletPrice(Rate) const override
Rate swapletRate() const override
Real swapletPrice() const override
Coupon with a number of sub-periods.