3.3.2.15. Class Fftw

3.3.2.15.1. Class Documentation

class Fftw

fftw3 management class

Public Functions

PlanSPtr GetRealToComplexPlan(const Size &size, double *in, fftw_complex *out)

Get a r2c fftw plan of the given size.

Return
unique ptr to the created plan
Parameters
  • in: real input array complying with the size
  • out: complex output array complying with the size
Exceptions

PlanSPtr GetComplexToRealPlan(const Size &size, fftw_complex *in, double *out)

Get a c2r fftw plan of the given size.

Parameters
  • size: plan size
  • in: complex input array complying with the size
  • out: real output array complying with the size
Exceptions

Public Static Functions

static Fftw &Instance()

Get Fftw singleton instance.

Return
Fftw instance