**gaussian_2d**,
a Python code which
evaluates a general Gaussian function of a 2D argument.

A formula for the Gaussian function at the point (x,y) is:

g(c,x,y,xmu,ymu,xsigma,ysigma,A) = c * exp ( 1/2 xy' * A * xy )where xy is the vector

[ ( x - xmu ) / sigma, ( y - ymu ) / sigma ]and A is a symmetric positive definite (SPD) matrix.

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

**gaussian_2d** is available in
a MATLAB version and
an Octave version and
a Python version.

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

- gaussian_2d.py, the source code.
- gaussian_2d.sh, runs all the tests.
- gaussian_2d.txt, the output file.

- gaussian_2d.png, a plot of a Gaussian function of a 2D argument.