black_scholes, a Python code which demonstrates several approaches to the valuation of a European call, by Desmond Higham.
The information on this web page is distributed under the MIT license.
black_scholes is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.
colored_noise, a Python code which generates samples of noise obeying a 1/f^alpha power law.
Original MATLAB version by Desmond Higham; Python version by John Burkardt.