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

pub fn transpose(
    hilbert_index: &BigUint,
    bits: usize,
    dimensions: usize
) -> Vec<u32>
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator
Expand description

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.