Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: FFTW 3.3.8: Complex DFTs Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: Chris@82:
Chris@82:

Chris@82: Next: , Previous: , Up: Basic Interface   [Contents][Index]

Chris@82:
Chris@82:
Chris@82: Chris@82:

4.3.1 Complex DFTs

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

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

Chris@82:

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

Chris@82:

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

Chris@82: Chris@82:

Arguments

Chris@82: Chris@82: Chris@82:

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

Chris@82:
Chris@82:
Chris@82:

Chris@82: Next: , Previous: , Up: Basic Interface   [Contents][Index]

Chris@82:
Chris@82: Chris@82: Chris@82: Chris@82: Chris@82: