hilbert

Hilbert curve and its inverse, in any dimension.

Module summary

hilbert_sort(x) Hilbert sort: sort vectors according to their Hilbert index.