stochastic_rk, a Python code which implements Runge-Kutta integration methods for stochastic differential equations (SDE).
The information on this web page is distributed under the MIT license.
stochastic_rk is available in a C version and a C++ version and a Fortran77 version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.
black_scholes, a Python code which implements some simple approaches to the Black-Scholes option valuation theory;
colored_noise, a Python code which generates samples of noise obeying a 1/f^alpha power law.
ornstein_uhlenbeck, a Python code which approximates solutions of the Ornstein-Uhlenbeck stochastic differential equation (SDE) using the Euler method and the Euler-Maruyama method.
pink_noise, a Python code which computes a pink noise signal obeying a 1/f power law.
sde, a Python code which illustrates the properties of stochastic differential equations (SDE), and common algorithms for their analysis, by Desmond Higham;
stochastic_diffusion, a Python code which implements several versions of a stochastic diffusivity coefficient.