FFT constructor
FFT(
- int size
Constructs an FFT object with the given size.
Implementation
factory FFT(int size) {
final isPow2 = isPowerOf2(size);
final isOddPrime = !isPow2 && isPrime(size);
final shouldPrimePad = isOddPrime && primePaddingHeuristic(size);
return _makeFFTCached(size, isPow2, isOddPrime, shouldPrimePad);
}