numpy-hilbert-curve
This is a numpy-based implementation of Hilbert curves, for up to a few tens of dimensions. A Hilbert curve is a continuous space-filling curve that lets you map from a single dimension into multiple dimensions.
This is working entirely in terms of integers, so the size of the (hyper-)
cube reflects the number of bits per dimension. You could normalize this to put it into the unit hypercube with floating point numbers.
#data analysis #numpy implementation #numpy