I need to multiply two polynomials, each of which has small integral coefficients. I need a fast FFT procedure in C / C ++ that can fold with them. I saw several libraries, but they seem to be too common across multiple files. The important thing is that I need code that is not too long and can be very easily used and compiled in a single .c/.cpp file.
- FFT should be optimized for real inputs, at least if not small integers.
- The Radix 4 implementation, if available, will also be great.
- Compilation does not require special compilation flags, since compilation of the program must be performed in an external environment that I cannot control.
One that fits my needs very well is here . But I need something twice as fast.
c ++ c fft signal-processing dft
Nikhil Garg
source share