Hello, I have added three new functions to the file function_base.py in the numpy/lib folder. These are divergence, curl and laplacian (for the moment, laplacian of a scalar field, maybe in the future I will try laplacian for a vector field). The calculation method is based in the existing one for numpy.gradient, with central differences. The changes are in this pull request:
https://github.com/numpy/numpy/pull/6727 Thank you, Antonio
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion