24#ifndef quantext_cirpp_parametrization_hpp
25#define quantext_cirpp_parametrization_hpp
27#include <ql/handle.hpp>
28#include <ql/termstructures/defaulttermstructure.hpp>
29#include <ql/termstructures/yieldtermstructure.hpp>
40 const std::string&
name = std::string());
42 virtual Real
kappa(
const Time t)
const = 0;
43 virtual Real
theta(
const Time t)
const = 0;
44 virtual Real
sigma(
const Time t)
const = 0;
45 virtual Real
y0(
const Time t)
const = 0;
66 const std::string& name)
67 :
Parametrization(currency, name.empty() ? currency.code() : name), termStructure_(termStructure),
const Handle< TS > termStructure_
virtual Real sigma(const Time t) const =0
CirppParametrization(const Currency ¤cy, const Handle< TS > &termStructure, bool shifted, const std::string &name=std::string())
virtual Real y0(const Time t) const =0
Size numberOfParameters() const override
virtual Real kappa(const Time t) const =0
virtual Real theta(const Time t) const =0
const Handle< TS > termStructure() const
const bool shifted() const
const std::string & name() const
virtual const Currency & currency() const
CirppParametrization< YieldTermStructure > IrCirppParametrization
CirppParametrization< DefaultProbabilityTermStructure > CrCirppParametrization
base class for model parametrizations