delsq, a Python code which is given a grid G, and returns a corresponding sparse matrix D that defines the Laplacian operator on G.


This code is distributed under the GNU LGPL license.


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

Related Data and Programs:

laplacian, a Python code which carries out computations related to the discrete laplacian operator, including full or sparse evaluation, evaluation for unequally spaced data sampling points, application to data samples, solution of associated linear systems, eigenvalues and eigenvectors, and extension to 2D and 3D geometry.

Source Code:

Last modified on 01 September 2023.