DGtal  0.9.3beta
Static Public Member Functions
DGtal::detail::FFTWComplexCast< TFFTW > Struct Template Reference

#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

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; }
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); }

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