Eigen::internal::fftw_plan< double > Struct Reference

#include <ei_fftw_impl.h>

Public Types

typedef double scalar_type
 
typedef fftw_complex complex_type
 

Public Member Functions

 fftw_plan ()=default
 
void set_plan (::fftw_plan p)
 
void fwd (complex_type *dst, complex_type *src, int nfft)
 
void inv (complex_type *dst, complex_type *src, int nfft)
 
void fwd (complex_type *dst, scalar_type *src, int nfft)
 
void inv (scalar_type *dst, complex_type *src, int nfft)
 
void fwd2 (complex_type *dst, complex_type *src, int n0, int n1)
 
void inv2 (complex_type *dst, complex_type *src, int n0, int n1)
 

Public Attributes

std::shared_ptr< fftw_plan_s > m_plan
 

Member Typedef Documentation

◆ complex_type

◆ scalar_type

Constructor & Destructor Documentation

◆ fftw_plan()

Member Function Documentation

◆ fwd() [1/2]

void Eigen::internal::fftw_plan< double >::fwd ( complex_type dst,
complex_type src,
int  nfft 
)
inline
91  {
92  if (m_plan == NULL) set_plan(fftw_plan_dft_1d(nfft, src, dst, FFTW_FORWARD, FFTW_ESTIMATE | FFTW_PRESERVE_INPUT));
93  fftw_execute_dft(m_plan.get(), src, dst);
94  }
void set_plan(::fftw_plan p)
Definition: ei_fftw_impl.h:90
std::shared_ptr< fftw_plan_s > m_plan
Definition: ei_fftw_impl.h:87

◆ fwd() [2/2]

void Eigen::internal::fftw_plan< double >::fwd ( complex_type dst,
scalar_type src,
int  nfft 
)
inline
99  {
100  if (m_plan == NULL) set_plan(fftw_plan_dft_r2c_1d(nfft, src, dst, FFTW_ESTIMATE | FFTW_PRESERVE_INPUT));
101  fftw_execute_dft_r2c(m_plan.get(), src, dst);
102  }

◆ fwd2()

void Eigen::internal::fftw_plan< double >::fwd2 ( complex_type dst,
complex_type src,
int  n0,
int  n1 
)
inline
107  {
108  if (m_plan == NULL) set_plan(fftw_plan_dft_2d(n0, n1, src, dst, FFTW_FORWARD, FFTW_ESTIMATE | FFTW_PRESERVE_INPUT));
109  fftw_execute_dft(m_plan.get(), src, dst);
110  }

◆ inv() [1/2]

void Eigen::internal::fftw_plan< double >::inv ( complex_type dst,
complex_type src,
int  nfft 
)
inline
95  {
96  if (m_plan == NULL) set_plan(fftw_plan_dft_1d(nfft, src, dst, FFTW_BACKWARD, FFTW_ESTIMATE | FFTW_PRESERVE_INPUT));
97  fftw_execute_dft(m_plan.get(), src, dst);
98  }

◆ inv() [2/2]

void Eigen::internal::fftw_plan< double >::inv ( scalar_type dst,
complex_type src,
int  nfft 
)
inline
103  {
104  if (m_plan == NULL) set_plan(fftw_plan_dft_c2r_1d(nfft, src, dst, FFTW_ESTIMATE | FFTW_PRESERVE_INPUT));
105  fftw_execute_dft_c2r(m_plan.get(), src, dst);
106  }

◆ inv2()

void Eigen::internal::fftw_plan< double >::inv2 ( complex_type dst,
complex_type src,
int  n0,
int  n1 
)
inline
111  {
112  if (m_plan == NULL)
113  set_plan(fftw_plan_dft_2d(n0, n1, src, dst, FFTW_BACKWARD, FFTW_ESTIMATE | FFTW_PRESERVE_INPUT));
114  fftw_execute_dft(m_plan.get(), src, dst);
115  }

◆ set_plan()

void Eigen::internal::fftw_plan< double >::set_plan ( ::fftw_plan< double p)
inline
90 { m_plan.reset(p, fftw_destroy_plan); }
float * p
Definition: Tutorial_Map_using.cpp:9

References p.

Member Data Documentation

◆ m_plan

std::shared_ptr<fftw_plan_s> Eigen::internal::fftw_plan< double >::m_plan

The documentation for this struct was generated from the following file: