grid

Sparse implementations of n-dimensional sampling grids.

Sampling grids are collections of points in an n-dimensional coordinate space with a certain structure which is exploited to minimize storage.

Classes

RectGrid(*coord_vectors)

An n-dimensional rectilinear grid.

Functions

sparse_meshgrid(*x)

Make a sparse meshgrid by adding empty dimensions.

uniform_grid(min_pt, max_pt, shape[, ...])

Return a grid from sampling an implicit interval product uniformly.

uniform_grid_fromintv(intv_prod, shape[, ...])

Return a grid from sampling an interval product uniformly.