Trouble doing an inverse fourier transform

Hi,

I was looking for ways to do an inverse fourier transform or reverse discrete fourier transform like the

ifft function in Matlab. I thought that fft(x, -1) would do a "backwards" or an inverse fft, but when I run this code in Matlab:

I get values different from this code in Yorick:

| | |

| **Code:**
>x = indgen(10); >fft(x, -1); [55+0i,-5-15.3884i,-5-6.88191i,-5-3.63271i,-5-1.6246i,-5+4.44089e-16i, -5+1.6246i,-5+3.63271i,-5+6.88191i,-5+15.3884i]
| |

| | |

The only way I have come across to do an inverse fft in yorick is to install yeti_fftw (or just the entirety of yeti) with the linop.i include.

So I followed this

topic and post and downloaded

linop.i to my /yorick/i0/ folder.

This is my code:

and then yorick dies and gives me this error message:

I googled fftw_create_plan and it seems that it was located in the fftw package. I had downloaded

precompiled fftw2.1.5 files into my include directory in my yorick installation.

I checked the /opt/eaarl/yorick/lib/yeti_fftw.so file with the one in my yeti install folder and the number of bytes matched. I followed the instructions, I think, properly from the README in the yeti folder. I used:

Everything was OKed but it doesn't work. What am I doing wrong?

Edit: I also tried the

repository after compiling fftw 2.1.5 successfully:

Installing yorick-yeti yielded the same dependency issue. I googled fftw2 and found an RPM for CentOS 5, but I couldn't install it due to a missing GPG key. I'll keep looking but any help would be much appreciated.

Thanks,

Ronak