Efficient 2D FFT in C for Large Arrays: Where to Find the Code?

  • Thread starter Thread starter Maciej Olszewski
  • Start date Start date
  • Tags Tags
    2d Fft
Click For Summary
A user is seeking a C implementation of a 2D FFT that can efficiently process large arrays, specifically 8192 x 8192 in size. Previous attempts with resources from paulbourke and sanfoundry were unsuccessful, either yielding incorrect results or taking too long to compute. Recommendations include using FFTW, a widely recognized library for fast Fourier transforms, which also supports GPU implementations for enhanced performance. Additional resources mentioned include the Ooura FFT and the libfft library available on Linux.
Maciej Olszewski
Messages
1
Reaction score
0
I am looking for a 2D fft that takes in a 2D array of heights and does a fft in c on the array. I would like if the code was capable of working with big arrays, such as 8192 x 8192 I have tried the paulbourke and sanfoundry websites. The first was not giving me the output that is expected and the second one took too long to compute. Does anyone know where I could find such code?
 
Technology news on Phys.org
On linux you have the libfft. I never use it but i know it exist.
 
As Dr Claude said FFTW, it is pretty well the standard, it even has GPU implementations if you have a decent graphics card.
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
22
Views
7K
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
26K
  • · Replies 30 ·
2
Replies
30
Views
6K
  • · Replies 8 ·
Replies
8
Views
2K