Chris@10: Chris@10: Chris@10: Real-to-Real Transforms - 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:

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


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

4.3.5 Real-to-Real Transforms

Chris@10: Chris@10:

Chris@10:

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

Chris@10: Plan a real input/output (r2r) transform of various kinds 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. A Chris@10: non-NULL plan is always returned by the basic interface unless Chris@10: you are using a customized FFTW configuration supporting a restricted Chris@10: set of transforms, or for size-1 FFTW_REDFT00 kinds (which are Chris@10: not defined). Chris@10: Chris@10: Chris@10:

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