Function fast_hilbert::h2xy[][src]

pub fn h2xy(h: u64, order: u8) -> (u32, u32)

Convert form 1D hilbert space to 2D coordinates

Arguments

  • h - Coordinate in 1D hilbert space. Must be < (2^order) * 2.
  • order - Hilbert space order. Max order is 32, since 32 bit coordinates are used.