Skip to main content

One doc tagged with "matrices"

View all tags

Matrix Toolbox

Handy Python snippets and patterns for working with 2D grids and matrices: initialization, bounds checking, neighbor offsets, and n-distance neighbors.