Fast Fourier transformation. More...
Classes | |
struct | FFT_Exception |
Enumerations | |
enum | Direction { DIR_XK, DIR_KX } |
direction of FFT More... | |
Functions | |
template<typename A > | |
void | transform (A &, Direction) |
Radix-2 FFT transformation for complex data. More... | |
const Direction | reverse (Direction dir) |
reverses the direction | |
Fast Fourier transformation.
enum fft::Direction |
void fft::transform | ( | A & | , |
Direction | |||
) |
Radix-2 FFT transformation for complex data.
Implemented via GSL.
In the spirit of evolved::Evolved it can take any array type that is transformable to a complex packed array via the array traits functions.
A | the complex array type |
FFT_Exception | if the size of the array is not a power of two. |