Chris@10: Chris@10: Chris@10: Complex DFTs - FFTW 3.3.3 Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10:
Chris@10: Chris@10:

Chris@10: Next: , Chris@10: Previous: Basic Interface, Chris@10: Up: Basic Interface Chris@10:


Chris@10:
Chris@10: Chris@10:

4.3.1 Complex DFTs

Chris@10: Chris@10:
     fftw_plan fftw_plan_dft_1d(int n0,
Chris@10:                                 fftw_complex *in, fftw_complex *out,
Chris@10:                                 int sign, unsigned flags);
Chris@10:      fftw_plan fftw_plan_dft_2d(int n0, int n1,
Chris@10:                                 fftw_complex *in, fftw_complex *out,
Chris@10:                                 int sign, unsigned flags);
Chris@10:      fftw_plan fftw_plan_dft_3d(int n0, int n1, int n2,
Chris@10:                                 fftw_complex *in, fftw_complex *out,
Chris@10:                                 int sign, unsigned flags);
Chris@10:      fftw_plan fftw_plan_dft(int rank, const int *n,
Chris@10:                              fftw_complex *in, fftw_complex *out,
Chris@10:                              int sign, unsigned flags);
Chris@10: 
Chris@10:

Chris@10: Plan a complex input/output discrete Fourier transform (DFT) in zero or Chris@10: more dimensions, returning an fftw_plan (see Using Plans). Chris@10: Chris@10:

Once you have created a plan for a certain transform type and Chris@10: parameters, then creating another plan of the same type and parameters, Chris@10: but for different arrays, is fast and shares constant data with the Chris@10: first plan (if it still exists). Chris@10: Chris@10:

The planner returns NULL if the plan cannot be created. In the Chris@10: standard FFTW distribution, the basic interface is guaranteed to return Chris@10: a non-NULL plan. A plan may be NULL, however, if you are Chris@10: using a customized FFTW configuration supporting a restricted set of Chris@10: transforms. Chris@10: Chris@10:

Arguments
Chris@10: Chris@10: Chris@10: Chris@10:

FFTW computes an unnormalized transform: computing a forward followed by Chris@10: a backward transform (or vice versa) will result in the original data Chris@10: multiplied by the size of the transform (the product of the dimensions). Chris@10: For more information, see What FFTW Really Computes. Chris@10: Chris@10: Chris@10: Chris@10: