Chris@19: Chris@19: Chris@19: Real-to-Real Transforms - FFTW 3.3.4 Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19:
Chris@19: Chris@19: Chris@19:

Chris@19: Next: , Chris@19: Previous: Real-data DFT Array Format, Chris@19: Up: Basic Interface Chris@19:


Chris@19:
Chris@19: Chris@19:

4.3.5 Real-to-Real Transforms

Chris@19: Chris@19:

Chris@19:

     fftw_plan fftw_plan_r2r_1d(int n, double *in, double *out,
Chris@19:                                 fftw_r2r_kind kind, unsigned flags);
Chris@19:      fftw_plan fftw_plan_r2r_2d(int n0, int n1, double *in, double *out,
Chris@19:                                 fftw_r2r_kind kind0, fftw_r2r_kind kind1,
Chris@19:                                 unsigned flags);
Chris@19:      fftw_plan fftw_plan_r2r_3d(int n0, int n1, int n2,
Chris@19:                                 double *in, double *out,
Chris@19:                                 fftw_r2r_kind kind0,
Chris@19:                                 fftw_r2r_kind kind1,
Chris@19:                                 fftw_r2r_kind kind2,
Chris@19:                                 unsigned flags);
Chris@19:      fftw_plan fftw_plan_r2r(int rank, const int *n, double *in, double *out,
Chris@19:                              const fftw_r2r_kind *kind, unsigned flags);
Chris@19: 
Chris@19:

Chris@19: Plan a real input/output (r2r) transform of various kinds in zero or Chris@19: more dimensions, returning an fftw_plan (see Using Plans). Chris@19: Chris@19:

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

The planner returns NULL if the plan cannot be created. A Chris@19: non-NULL plan is always returned by the basic interface unless Chris@19: you are using a customized FFTW configuration supporting a restricted Chris@19: set of transforms, or for size-1 FFTW_REDFT00 kinds (which are Chris@19: not defined). Chris@19: Chris@19: Chris@19:

Arguments
Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: