26#ifndef quantlib_discretized_swap_hpp
27#define quantlib_discretized_swap_hpp
37 const Date& referenceDate,
41 const Date& referenceDate,
43 std::vector<CouponAdjustment> fixedCouponAdjustments,
44 std::vector<CouponAdjustment> floatingCouponAdjustments);
Discretized asset class used by numerical methods.
std::vector< Time > floatingPayTimes_
void addFloatingCoupon(Size i)
void addFixedCoupon(Size i)
std::vector< bool > floatingResetTimeIsInPast_
void preAdjustValuesImpl() override
std::vector< CouponAdjustment > floatingCouponAdjustments_
std::vector< Time > fixedResetTimes_
std::vector< CouponAdjustment > fixedCouponAdjustments_
std::vector< bool > fixedResetTimeIsInPast_
std::vector< Time > floatingResetTimes_
VanillaSwap::arguments arguments_
void postAdjustValuesImpl() override
std::vector< Time > mandatoryTimes() const override
std::vector< Time > fixedPayTimes_
void reset(Size size) override
Arguments for simple swap calculation
Discretized asset classes.
std::size_t Size
size of a container
Simple fixed-rate vs Libor swap.