pub const fn digit_rev_permutation<T, const N: usize, const R: usize>(
    array: &mut [T; N]
)