stochastic_rk


stochastic_rk, a Fortran90 code which implements Runge-Kutta integration methods for stochastic differential equations.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

stochastic_rk is available in a C version and a C++ version and a Fortran90 version and a MATLAB version.

Related Data and Programs:

stochastic_rk_test

black_scholes, a Fortran90 code which implements some simple approaches to the Black-Scholes option valuation theory;

colored_noise, a Fortran90 code which generates samples of noise obeying a 1/f^alpha power law.

feynman_kac_2d, a Fortran90 code which demonstrates the use of the Feynman-Kac algorithm for solving certain partial differential equations.

ornstein_uhlenbeck, a Fortran90 code which approximates solutions of the Ornstein-Uhlenbeck stochastic differential equation (SDE) using the Euler method and the Euler-Maruyama method.

pce_legendre, a MATLAB code which assembles the system matrix associated with a polynomal chaos expansion of a 2D stochastic PDE, using Legendre polynomials;

pce_ode_hermite, a Fortran90 code which sets up a simple scalar ODE for exponential decay with an uncertain decay rate, using a polynomial chaos expansion in terms of Hermite polynomials.

pink_noise, a Fortran90 code which computes a pink noise signal obeying a 1/f power law.

sde, a Fortran90 code which illustrates the properties of stochastic differential equations, and common algorithms for their analysis, by Desmond Higham;

stochastic_diffusion, a Fortran90 code which implements several versions of a stochastic diffusivity coefficient.

stochastic_gradient_nd_noise, a MATLAB code which solves an optimal control problem involving a functional over a system with stochastic noise.

Reference:

  1. Jeremy Kasdin,
    Runge-Kutta algorithm for the numerical integration of stochastic differential equations,
    Journal of Guidance, Control, and Dynamics,
    Volume 18, Number 1, January-February 1995, pages 114-120.
  2. Jeremy Kasdin,
    Discrete Simulation of Colored Noise and Stochastic Processes and 1/f^a Power Law Noise Generation,
    Proceedings of the IEEE,
    Volume 83, Number 5, 1995, pages 802-827.

Source Code:


Last revised on 08 July 2024.