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

pub fn untranspose(
    transposed_index: &[u32],
    bits: usize,
    interleaver_option: Option<&Interleaver>
) -> BigUint

Convert a transposed Hilbert index back into a Big Integer (BigUint) index.

Assume that the number of dimensions of the point in N-space is the length of the transposed_index array.

  • transposed_index - A Hilbert index in transposed form.
  • bits - Number of bits used to represent each coordinate.
  • interleaver_option - Optional Interleaver to optimize the transform.
  • returns - The Hilbert index (or distance) expressed as a BigUint.