[][src]Module hilbert::normalize

The normalize module contains IntegerDataRange and FloatDataRange. These structs are used to normalize point coordinates to prepare them for the Hilbert transform.

Structs

FloatDataRange

The observed range of values seen in a set of points whose coordinates are signed 64-bit floats.

IntegerDataRange

Holds the observed range of values seen in a set of points whose coordinates are 32-bit integers (signed or unsigned).

Functions

bits_required

Find the minimum number of bits required to represent the given number.

smallest_power_of_two

Smallest power of two such that two raised to that power is greater than or equal to the given number.