Module hilbert_2d::u16
source · Expand description
Discrete functions for the 16-bit unsigned integer type.
Functions
Maps from a 1D index to a 2D coordinate, using a discrete approximation of the
Hilbert curve. Recommended for images and matrices.
Maps from a 2D coordinate to an 1D index, using a discrete approximation of the
Hilbert curve. Recommended for images and matrices.