24#ifndef quantlib_black_karasinski_hpp
25#define quantlib_black_karasinski_hpp
48 ext::shared_ptr<ShortRateDynamics>
dynamics()
const override;
50 ext::shared_ptr<Lattice>
tree(
const TimeGrid& grid)
const override;
Short-rate dynamics in the Black-Karasinski model.
Real shortRate(Time t, Real x) const override
Compute short rate from state variable.
Dynamics(Parameter fitting, Real alpha, Real sigma)
Real variable(Time t, Rate r) const override
Compute state variable from short rate.
Standard Black-Karasinski model class.
ext::shared_ptr< Lattice > tree(const TimeGrid &grid) const override
Return by default a trinomial recombining tree.
ext::shared_ptr< ShortRateDynamics > dynamics() const override
returns the short-rate dynamics
Shared handle to an observable.
Base class describing the short-rate dynamics.
Single-factor short-rate model abstract class.
Ornstein-Uhlenbeck process class.
Base class for model arguments.
1-dimensional stochastic process
Term-structure consistent model class.
const Handle< YieldTermStructure > & termStructure() const
Real Time
continuous quantity with 1-year units
Abstract one-factor interest rate model class.
Ornstein-Uhlenbeck process.
ext::shared_ptr< YieldTermStructure > r