This repo contains the fftw library examples for 1D/2D fourier transforms and an easy to use interface (ffwf_.h).
In the tutorials directory,
- Complex_1D_FFT : 1-dimensional fft calculation with complex input and complex output
- Complex_2D_FFT : 2-dimensional fft calculation with complex input and complex output
- Real_2D_FFT : 2-dimensional fft calculation with real input and complex output
- Complex_2D_Each_Row_FFT : 1-dimensional fft calculation for each row of 2D matrix
- Complex_3D_Each_Channel_FFT : 2-dimensional fft calculation for each channel of 3D tensor
If the tutorials seem complicated to you, you can use fftwf_.h (Float values are preferred instead of double for operations). You can get help from fftwf_tutorial to use the fftwf interface.
UML diagram is below for you to understand the FFTWF interface