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

  • Context:
  • Thread starter Thread starter Maciej Olszewski
  • Start date Start date
  • Tags Tags
    2d Fft
Click For Summary

Discussion Overview

The discussion centers around finding efficient C code for performing a 2D Fast Fourier Transform (FFT) on large arrays, specifically targeting dimensions such as 8192 x 8192. Participants share resources and libraries that may fulfill this requirement.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses a need for a 2D FFT implementation in C that can handle large arrays and mentions unsuccessful attempts with specific websites.
  • Another participant suggests using the FFTW library, providing a link to its website as a potential solution.
  • A third participant mentions the existence of libfft on Linux, although they have not used it personally.
  • A later reply reinforces the recommendation of FFTW, noting its status as a standard library and mentioning the availability of GPU implementations for enhanced performance.

Areas of Agreement / Disagreement

Participants generally agree on the recommendation of FFTW as a suitable library for 2D FFTs, but there is no consensus on the effectiveness of other mentioned resources or libraries.

Contextual Notes

Some participants have not tested the suggested libraries, and there may be varying experiences with performance and output accuracy among different implementations.

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.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · 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
7K
  • · Replies 8 ·
Replies
8
Views
3K