cannam@95: cannam@95: cannam@95: Complex DFTs - FFTW 3.3.3 cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95:
cannam@95: cannam@95:

cannam@95: Next: , cannam@95: Previous: Basic Interface, cannam@95: Up: Basic Interface cannam@95:


cannam@95:
cannam@95: cannam@95:

4.3.1 Complex DFTs

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

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

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

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

Arguments
cannam@95: cannam@95: cannam@95: cannam@95:

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