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