25#ifndef quantlib_generalized_ornstein_uhlenbeck_process_hpp
26#define quantlib_generalized_ornstein_uhlenbeck_process_hpp
Piecewise linear Ornstein-Uhlenbeck process class.
ext::function< Real(Time)> speed_
Real diffusion(Time t, Real x) const override
returns the diffusion part of the equation, i.e.
ext::function< Real(Time)> volatility_
Real stdDeviation(Time t0, Real x0, Time dt) const override
Real volatility(Time t) const
Real drift(Time t, Real x) const override
returns the drift part of the equation, i.e.
Real expectation(Time t0, Real x0, Time dt) const override
Real x0() const override
returns the initial value of the state variable
1-dimensional stochastic process
LinearInterpolation variance
Maps function, bind and cref to either the boost or std implementation.
Real Time
continuous quantity with 1-year units