C# library to do fft and ifft?

18,643

Solution 1

I believe this is what you're looking for.

Solution 2

Both Math.NET and Aforce are based on the Exocortex.DSP library. http://www.exocortex.org/dsp

Share:
18,643
aF.
Author by

aF.

Last time I checked,                 I was me.

Updated on June 05, 2022

Comments

  • aF.
    aF. almost 2 years

    is there a free c# library to do the fast fourier transform and its inverse?

  • aF.
    aF. over 14 years
    Thanks m8. But you know if any of those libs make the ifft?
  • Will Eddins
    Will Eddins over 14 years
    The AForge solution at the top can do both forwards and reverse FFT, which I'm guessing is the same thing? Recently used the FFT class in there in a project, and it worked good.
  • DigitalNomad
    DigitalNomad over 14 years
  • Paul
    Paul over 14 years
    CenterSpace's NMath does inverse FFT's and forward FFT's for any input data length.
  • Paul
    Paul over 14 years
    Exocortex.org/dsp hasn't had a release in 6 years. I wouldn't use it in an important project.
  • bhouston
    bhouston over 14 years
    Paul since your company is selling software that competes with Exocortex DSP it would make sense that you would seed FUD about it. Not ethical, but understandable on your part.
  • Totti
    Totti over 14 years
    Exocortex was one of the libraries I tried before writing (and commercializing) my own C# FFT. IIRC, I didn't use it because it was buggy and very limited (only worked for a few transform sizes).
  • Totti
    Totti over 14 years
    Math.NET only works for integral-power-of-two length inputs.
  • bhouston
    bhouston over 14 years
    Jon Harrop, as the author of Exocortex.DSP, I have to say that yes it is limited to powers of 2, but it isn't buggy. It has been deployed all over the place with a lot of success.
  • toufik3119
    toufik3119 over 13 years
    Update: Newer Math.NET Numerics versions do support arbitrary length inputs