DGtal 1.3.0
Loading...
Searching...
No Matches
Static Public Member Functions
DGtal::detail::FFTWComplexCast< TFFTW > Struct Template Reference

Facility to cast to the complex type used by fftw. More...

#include <DGtal/math/RealFFT.h>

Static Public Member Functions

static TFFTW::complex * apply (typename TFFTW::complex *ptr)
 
static TFFTW::complex * apply (std::complex< typename TFFTW::real > *ptr)
 

Detailed Description

template<typename TFFTW>
struct DGtal::detail::FFTWComplexCast< TFFTW >

Facility to cast to the complex type used by fftw.

Definition at line 66 of file RealFFT.h.

Member Function Documentation

◆ apply() [1/2]

template<typename TFFTW >
static TFFTW::complex * DGtal::detail::FFTWComplexCast< TFFTW >::apply ( std::complex< typename TFFTW::real > *  ptr)
inlinestatic

Definition at line 72 of file RealFFT.h.

72{ return reinterpret_cast<typename TFFTW::complex*>(ptr); }

◆ apply() [2/2]

template<typename TFFTW >
static TFFTW::complex * DGtal::detail::FFTWComplexCast< TFFTW >::apply ( typename TFFTW::complex *  ptr)
inlinestatic

Definition at line 69 of file RealFFT.h.

69{ return ptr; }

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