On Mon, Oct 26, 2009 at 12:04 AM, Ralf Gommers <ralf.gommers@googlemail.com> wrote:


On Sun, Oct 25, 2009 at 11:51 PM, Charles R Harris <charlesr.harris@gmail.com> wrote:


On Sun, Oct 25, 2009 at 4:21 PM, Ralf Gommers <ralf.gommers@googlemail.com> wrote:
Hi all,

Can anyone tell me if fftpack_lite is an exact C translation of the fftpack Fortran code? Or at least close enough that the signature, parameter descriptions and algorithm are the same?

If so, I can use the fftpack Fortran sources (which have useful comments) to write docs for fftpack_lite funcs (rfft* and cfft*).


fft_pack is an interface to a c translation of fftpack. IIRC, it adds some stuff like zerofill and such so it isn't a1-1 matchup. I think it is pretty close, though.

Okay, thanks.  I'll start with the Fortran docs then, and someone familiar with the differences could then easily throw in a few notes on that.

There are docs now for all six exposed functions (cfft*, rfft*):
http://docs.scipy.org/numpy/docs/numpy.fft.fftpack_lite/

If anyone with knowledge of the differences between the C and Fortran versions could add a few notes at the above link, that would be great.

Thanks,
Ralf