Function winter_math::fft::permute_index
source ยท pub fn permute_index(size: usize, index: usize) -> usize
Expand description
Computes bit reverse of the specified index in the domain of the specified size.
Domain size is assumed to be a power of two and index must be smaller than domain size.