26#ifndef quantlib_square_root_process_hpp
27#define quantlib_square_root_process_hpp
46 const ext::shared_ptr<discretization>&
d =
Euler discretization for stochastic processes.
Square-root process class.
Real diffusion(Time t, Real x) const override
returns the diffusion part of the equation, i.e.
Real drift(Time t, Real x) const override
returns the drift part of the equation, i.e.
Real x0() const override
returns the initial value of the state variable
1-dimensional stochastic process
Euler discretization for stochastic processes.
Real Time
continuous quantity with 1-year units
Real Volatility
volatility