Module hilbert_2d::u64

source ·
Expand description

Discrete functions for the 64-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.