24 const Currency& currency,
const std::string& eqName,
const Handle<Quote>& eqSpotToday,
25 const Handle<Quote>& fxSpotToday,
const Array& times,
const Array& sigma,
26 const Handle<YieldTermStructure>& eqIrCurveToday,
const Handle<YieldTermStructure>& eqDivYieldCurveToday)
27 :
EqBsParametrization(currency, eqName, eqSpotToday, fxSpotToday, eqIrCurveToday, eqDivYieldCurveToday),
33 const Currency& currency,
const std::string& eqName,
const Handle<Quote>& eqSpotToday,
34 const Handle<Quote>& fxSpotToday,
const std::vector<Date>& dates,
const Array& sigma,
35 const Handle<YieldTermStructure>& domesticTermStructure,
const Handle<YieldTermStructure>& eqIrCurveToday,
36 const Handle<YieldTermStructure>& eqDivYieldCurveToday)
37 :
EqBsParametrization(currency, eqName, eqSpotToday, fxSpotToday, eqIrCurveToday, eqDivYieldCurveToday),
44 "alpha size (" <<
sigma.size() <<
") inconsistent to times size ("
EQ Black Scholes parametrizations.
Real inverse(const Size i, const Real y) const override
EqBsPiecewiseConstantParametrization(const Currency ¤cy, const std::string &eqName, const Handle< Quote > &eqSpotToday, const Handle< Quote > &fxSpotToday, const Array ×, const Array &sigma, const Handle< YieldTermStructure > &eqIrCurveToday, const Handle< YieldTermStructure > &eqDivYieldCurveToday)
void update() const override
Real sigma(const Time t) const override
void initialize(const Array &sigma)
Piecewise Constant Helper 1.
const QuantLib::ext::shared_ptr< PseudoParameter > y_
piecewise constant model parametrization