QuantLib: HullWhite::Dynamics Class Reference

A free/open-source library for quantitative finance Reference manual - version 1.6

- Main Page
- Related Pages
- Modules
- Classes
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
HullWhite::Dynamics Class Reference

Short-rate dynamics in the Hull-White model. More...

`#include <ql/models/shortrate/onefactormodels/hullwhite.hpp>`

Inheritance diagram for HullWhite::Dynamics:
[legend]

## Public Member Functions
| Dynamics (const Parameter &fitting, Real a, Real sigma)
Real | variable (Time t, Rate r) const
| Compute state variable from short rate.
Real | shortRate (Time t, Real x) const
| Compute short rate from state variable.
Public Member Functions inherited from OneFactorModel::ShortRateDynamics
| ShortRateDynamics (const boost::shared_ptr< StochasticProcess1D > &process)
const boost::shared_ptr< StochasticProcess1D > & | process ()
| Returns the risk-neutral dynamics of the state variable.

## Detailed Description

Short-rate dynamics in the Hull-White model.

The short-rate is here

\[ r_t = \varphi(t) + x_t \]

where \( \varphi(t) \) is the deterministic time-dependent parameter used for term-structure fitting and \( x_t \) is the state variable following an Ornstein-Uhlenbeck process.