[][src]Function hilbert::transform::fast_hilbert::transpose

pub fn transpose(
    hilbert_index: &BigUint,
    bits: usize,
    dimensions: usize
) -> Vec<u32>

Convert a Hilbert distance (index) stored in a BigUint into a transposed matrix, where the bits are distributed among many integers in an array.

  • hilbert_index - Hilbert distance as a BigUint
  • bits - Number of bits per point in the N-space
  • dimensions - Number of dimensions of each point in the N-space
  • Returns - The Hilbert distance expressed as a transposed array.