28#include <ql/math/matrixutilities/pseudosqrt.hpp>
51 const std::string& paymentCurrencyCode,
52 const std::map<std::string, QuantLib::ext::shared_ptr<IborCouponPricer>>& iborPricers,
53 const std::map<std::string, QuantLib::ext::shared_ptr<CmsCouponPricer>>& cmsPricers,
54 const std::map<std::string, Handle<BlackVolTermStructure>>& fxVolatilities,
55 const std::map<std::pair<std::string, std::string>, Handle<QuantExt::CorrelationTermStructure>>& correlation,
56 const Handle<YieldTermStructure>& couponDiscountCurve,
const Size samples = 10000,
const Size seed = 42,
57 const bool useSobol =
true, SalvagingAlgorithm::Type salvaging = SalvagingAlgorithm::None);
61 virtual Real
capletPrice(Rate effectiveCap)
const override;
62 virtual Rate
capletRate(Rate effectiveCap)
const override;
63 virtual Real
floorletPrice(Rate effectiveFloor)
const override;
64 virtual Rate
floorletRate(Rate effectiveFloor)
const override;
72 const std::map<std::string, QuantLib::ext::shared_ptr<IborCouponPricer>>
iborPricers_;
73 const std::map<std::string, QuantLib::ext::shared_ptr<CmsCouponPricer>>
cmsPricers_;
82 QuantLib::ext::shared_ptr<FormulaBasedIndex>
index_;
Term structure of correlations.