24#ifndef quantext_piecewiseconstant_eqbs_parametrization_hpp
25#define quantext_piecewiseconstant_eqbs_parametrization_hpp
42 const Array& times,
const Array&
sigma,
43 const Handle<YieldTermStructure>& eqIrCurveToday,
44 const Handle<YieldTermStructure>& eqDivYieldCurveToday);
53 const std::vector<Date>& dates,
const Array&
sigma,
54 const Handle<YieldTermStructure>& domesticTermStructure,
55 const Handle<YieldTermStructure>& eqIrCurveToday,
56 const Handle<YieldTermStructure>& eqDivYieldCurveToday);
57 Real
variance(
const Time
t)
const override;
58 Real
sigma(
const Time
t)
const override;
60 const QuantLib::ext::shared_ptr<Parameter>
parameter(
const Size)
const override;
61 void update()
const override;
64 Real
direct(
const Size i,
const Real x)
const override;
65 Real
inverse(
const Size i,
const Real
y)
const override;
88 QL_REQUIRE(i == 0,
"parameter " << i <<
" does not exist, only have 0");
93 QL_REQUIRE(i == 0,
"parameter " << i <<
" does not exist, only have 0");
EQ Black Scholes parametrizations.
const Handle< Quote > eqSpotToday() const
const Handle< Quote > fxSpotToday() const
EQ Black Scholes constant parametrization.
Real inverse(const Size i, const Real y) const override
Real variance(const Time t) const override
void update() const override
Real sigma(const Time t) const override
Real direct(const Size i, const Real x) const override
const Array & parameterTimes(const Size) const override
const QuantLib::ext::shared_ptr< Parameter > parameter(const Size) const override
void initialize(const Array &sigma)
virtual const Currency & currency() const
Piecewise Constant Helper 1.
Real y(const Time t) const
Real inverse(const Real y) const
const QuantLib::ext::shared_ptr< PseudoParameter > y_
Real int_y_sqr(const Time t) const
int_0^t y^2(s) ds
Real direct(const Real x) const
EQ Black Scholes parametrization.
helper classes for piecewise constant parametrizations