WallGo.helpers.finiteDiffMatrix

finiteDiffMatrix(grid)[source]

Computes the finite difference matrix corresponding to the array grid. grid must contain the endpoints.

Parameters:

grid (ndarray)

Return type:

ndarray