gaussian, a Python code which evaluates the Gaussian function and its derivatives.

A formula for the Gaussian function at the point x is:

      g(x,mu,sigma) = 1/sigma/sqrt(2*pi) * exp ( -(x-mu)^2/2/sigma^2)
where mu the mean value, and sigma is the standard deviation.


The computer code and data files made available on this web page are distributed under the MIT license


gaussian is available in a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

Source Code:

Last modified on 30 September 2022.