FFT how to choose?

Tell me what to choose a library for the fast Fourier transform? Found
FFTW but it has not been updated for 4 years. Subject to what is an
alternative?. I am interested in the transformation of 1D, forward and
reverse. On the official FFTW website examples by c++ programming
language :frowning:

···

--
Posted via http://www.ruby-forum.com/.

Why do you need a more recent version? I had a quick look, and the only
"recent" changes I saw within FFTW were updates to the license. Perhaps
it works fine, so doesn't need updates. Have you tried it?

···

--
Posted via http://www.ruby-forum.com/.

Be sure to try, the only thing I do not understand the syntax for Ruby.
Example of code that I need on the official site FFTW.

  #include <fftw3.h>
     ...
     {
         fftw_complex *in, *out;
         fftw_plan p;
         ...
         in = (fftw_complex*) fftw_malloc(sizeof(fftw_complex) * N);
         out = (fftw_complex*) fftw_malloc(sizeof(fftw_complex) * N);
         p = fftw_plan_dft_1d(N, in, out, FFTW_FORWARD, FFTW_ESTIMATE);
         ...
         fftw_execute(p); /* repeat as needed */
         ...
         fftw_destroy_plan(p);
         fftw_free(in); fftw_free(out);
     }

How would it look to Ruby?.

···

--
Posted via http://www.ruby-forum.com/.

There are a few examples in Ruby of using FFTW3 here:
http://ruby.gfd-dennou.org/products/ruby-fftw3/doc/ruby-fftw3.html

···

--
Posted via http://www.ruby-forum.com/.