Convenience functions that create an
Fft object, run the FFT or inverse
FFT and return the result. Useful for one-off FFTs.
Complex!F inverseFft(F, R) (
void inverseFft(Ret, R) (
In addition to convenience, these functions are slightly more efficient than manually creating an Fft object for a single use, as the Fft object is deterministically destroyed before these functions return.
Andrei Alexandrescu, Don Clugston, Robert Jacques, Ilya Yaroshenko