fftw3d: Compute a two-dimensional FFT on a matrix using FFTW3
Description
Computes three-dimensional FFT on an array using the FFTW3 libraries.
Use fftw_r2c_3d(x, HermConj=0) for real to complex FFT. This will
return the result without the "Hermitian" redundancy. These functions follow the R
convention when returning the inverse of the FFT. For the two-dimension
fft, the inverse is currently requires the entire matrix, including the
redundant complex conjugate.