31#include <ql/math/comparison.hpp>
67 Size
n()
const override {
return 1; }
68 Size
m()
const override {
return 1; }
72 QuantLib::Real
forwardPrice(
const QuantLib::Time t,
const QuantLib::Time T,
const QuantLib::Array& x,
73 const QuantLib::Handle<QuantExt::PriceTermStructure>& priceCurve
74 = QuantLib::Handle<QuantExt::PriceTermStructure>())
const override;
QuantLib::ext::shared_ptr< CommoditySchwartzParametrization > parametrization_
const QuantLib::ext::shared_ptr< CommoditySchwartzParametrization > parametrization() const
Schwartz model specific methods.
const QuantLib::ext::shared_ptr< Parametrization > parametrizationBase() const override
QuantLib::ext::shared_ptr< StochasticProcess > stateProcess() const override
void update() override
observer and linked calibrated model interface
QuantLib::ext::shared_ptr< StochasticProcess > stateProcess_
QuantLib::Real forwardPrice(const QuantLib::Time t, const QuantLib::Time T, const QuantLib::Array &x, const QuantLib::Handle< QuantExt::PriceTermStructure > &priceCurve=QuantLib::Handle< QuantExt::PriceTermStructure >()) const override
void generateArguments() override
const Currency & currency() const override
Discretization discretization_
Handle< PriceTermStructure > termStructure() const override
Commodity model base class.
Schwartz commodity model parametrization.
Hull White n factor parametrization.