24#ifndef quantext_constant_fxbs_parametrization_hpp
25#define quantext_constant_fxbs_parametrization_hpp
39 const QuantLib::ext::shared_ptr<QuantLib::Constraint>& sigmaConstraint = QuantLib::ext::make_shared<QuantLib::NoConstraint>());
41 Real
variance(
const Time t)
const override;
42 Real
sigma(
const Time t)
const override;
43 const QuantLib::ext::shared_ptr<Parameter>
parameter(
const Size)
const override;
46 Real
direct(
const Size i,
const Real x)
const override;
47 Real
inverse(
const Size i,
const Real y)
const override;
50 const QuantLib::ext::shared_ptr<PseudoParameter>
sigma_;
66 QL_REQUIRE(i == 0,
"parameter " << i <<
" does not exist, only have 0");
FX Black Scholes parametrization.
Real inverse(const Size i, const Real y) const override
Real variance(const Time t) const override
Real sigma(const Time t) const override
Real direct(const Size i, const Real x) const override
const QuantLib::ext::shared_ptr< PseudoParameter > sigma_
const QuantLib::ext::shared_ptr< Parameter > parameter(const Size) const override
FX Black Scholes parametrizations.
const Handle< Quote > fxSpotToday() const
virtual const Currency & currency() const
FX Black Scholes parametrization.