Function qsym2::auxiliary::geometry::normalise_rotation_fraction

source ·
pub fn normalise_rotation_fraction(
    fraction: GenericFraction<u32>,
) -> (GenericFraction<u32>, u32)
Expand description

Returns the rotation fraction adjusted to be in the interval $(-1/2, +1/2]$ and the number of $1$-folds required to bring the original fraction to that interval.

§Arguments

  • fraction - A rotation fraction.

§Returns

The normalised rotation fraction and the number of folds.