34 Real
map(
const Real S)
const override;
35 Real
mapPrime(
const Real S)
const override;
36 Real
mapPrime2(
const Real S)
const override;
39 Real
a()
const {
return a_; }
40 Real
b()
const {
return b_; }
51 QuantLib::ext::shared_ptr<AnnuityMapping>
build(
const Date& valuationDate,
const Date& optionDate,
const Date& paymentDate,
52 const VanillaSwap& underlying,
53 const Handle<YieldTermStructure>& discountCurve)
override;
56 Real
a_ = Null<Real>(),
b_ = Null<Real>();
base class for annuity mapping functions used in TSR models
QuantLib::ext::shared_ptr< AnnuityMapping > build(const Date &valuationDate, const Date &optionDate, const Date &paymentDate, const VanillaSwap &underlying, const Handle< YieldTermStructure > &discountCurve) override
Handle< Quote > reversion_
Real map(const Real S) const override
bool mapPrime2IsZero() const override
Real mapPrime(const Real S) const override
Real mapPrime2(const Real S) const override