Function bit_reverse_packed

Source
pub fn bit_reverse_packed<P: PackedField>(buffer: FieldSliceMut<'_, P>)
Expand description

Applies a bit-reversal permutation to packed field elements in a buffer using parallelization.

This function permutes the field elements such that element at index i is moved to index reverse_bits(i, log_len). The permutation is performed in-place and correctly handles packed field representations.

ยงArguments

  • buffer - Mutable slice of packed field elements to permute