Module stencil

Source

Functionsยง

moore_neighbors
Generates the Moore stencil for grids of arbitrary dimensionality.
von_neumann_neighbors
Generates the von Neumann stencil for grids of arbitrary dimensionality.