Skip to main content

next_fast_fft_size

Function next_fast_fft_size 

Source
pub fn next_fast_fft_size(size: usize) -> usize
Expand description

Find next size that is efficient for FFT

FFT is most efficient when the size factors into small primes (2, 3, 5). This finds the smallest n >= size that satisfies this.