Regular grid

Depends on what functionality you need from the grid.
The most bare-bones rectangular grid is Iterators.product(1:10, 1:100): it can be iterated or mapped over, but isn’t even an array.
More extensive grids can be created with the RectiGrids.jl package. They are arrays, and even more, KeyedArrays, providing convenient lookup methods. (disclaimer: I’m the package author)

3 Likes