|
|
| Lgm1fPiecewiseLinearParametrization (const Currency ¤cy, const Handle< TS > &termStructure, const Array &alphaTimes, const Array &alpha, const Array &hTimes, const Array &h, const std::string &name=std::string(), const QuantLib::ext::shared_ptr< QuantLib::Constraint > &alphaConstraint=QuantLib::ext::make_shared< QuantLib::NoConstraint >(), const QuantLib::ext::shared_ptr< QuantLib::Constraint > &hConstraint=QuantLib::ext::make_shared< QuantLib::NoConstraint >()) |
|
| Lgm1fPiecewiseLinearParametrization (const Currency ¤cy, const Handle< TS > &termStructure, const std::vector< Date > &alphaDates, const Array &alpha, const std::vector< Date > &hDates, const Array &h, const std::string &name=std::string(), const QuantLib::ext::shared_ptr< QuantLib::Constraint > &alphaConstraint=QuantLib::ext::make_shared< QuantLib::NoConstraint >(), const QuantLib::ext::shared_ptr< QuantLib::Constraint > &hConstraint=QuantLib::ext::make_shared< QuantLib::NoConstraint >()) |
| Real | zeta (const Time t) const override |
| Real | H (const Time t) const override |
| Real | alpha (const Time t) const override |
| Real | kappa (const Time t) const override |
| Real | Hprime (const Time t) const override |
| Real | Hprime2 (const Time t) const override |
| const Array & | parameterTimes (const Size) const override |
| const QuantLib::ext::shared_ptr< Parameter > | parameter (const Size) const override |
| void | update () const override |
|
| Lgm1fParametrization (const Currency ¤cy, const Handle< TS > &termStructure, const std::string &name=std::string()) |
|
virtual Real | hullWhiteSigma (const Time t) const |
|
const Handle< TS > | termStructure () const |
| Real | zetan (const Size n, const Time t, const QuantLib::ext::shared_ptr< Integrator > &integrator) |
| Real & | shift () |
| Real & | scaling () |
| Size | numberOfParameters () const override |
|
| Parametrization (const Currency ¤cy, const std::string &name="") |
| virtual const Currency & | currency () const |
| virtual Array | parameterValues (const Size) const |
| const std::string & | name () const |
template<class TS>
class QuantExt::Lgm1fPiecewiseLinearParametrization< TS >
Lgm 1f Piecewise Linear Parametrization.
parametrization with piecewise linear H and zeta, w.r.t. zeta this is the same as piecewise constant alpha, w.r.t. H this is implemented with a new (helper) parameter h > 0, such that \(H(t) = \int_0^t h(s) ds\)
- Warning
- this class is considered experimental, it is not tested well and might have conceptual issues (e.g. kappa is zero almost everywhere); you might rather want to rely on the piecewise constant parametrization