Fast Fourier Transforms by using FFTW Ver.3.
(C) Takeshi Horinouchi 2003
Then, install this library as follows (replace "version" with the actual version number):
% tar xvzf fftw3-version.tar.gz % cd fftw3-version % ruby extconf.rb % make % make site-install
Or
% make install
(If you are using Ruby 1.8, make install is the same make site-install.)
fftw(narray, dir [,dim,dim,...])
Complex FFT.
The 3rd, 4th,... arguments are optional.
ARGUMENTS
RETURN VALUE