JayBeams  0.1
Another project to have fun coding.
Classes | Namespaces
traits.hpp File Reference
#include <fftw3.h>
#include <complex>
#include <vector>

Go to the source code of this file.

Classes

struct  jb::fftw::traits< precision_t >
 Wrap fftw_* types and operations to treat floating point values generically. More...
 
struct  jb::fftw::traits< double >
 Wrap the FFTW types and functions for double precision float point numbers. More...
 
struct  jb::fftw::traits< float >
 Wrap the FFTW types and functions for single precision float point numbers. More...
 
struct  jb::fftw::traits< long double >
 Wrap the FFTW types and functions for quad precision float point numbers. More...
 
struct  jb::fftw::traits< std::complex< T > >
 Define traits for std::complex<T> in terms of the traits for T. More...
 

Namespaces

 jb
 The top-level namespace for the JayBeams library.
 
 jb::fftw
 Wrappers for the FFTW3 library.
 

Class Documentation

◆ jb::fftw::traits

struct jb::fftw::traits

template<typename precision_t>
struct jb::fftw::traits< precision_t >

Wrap fftw_* types and operations to treat floating point values generically.

Type traits to handle single-precision (float / fftwf_*), double-precision (double / fftw_*) and quad-precision (long double / fftwl_*) generically in C++ code.

Template Parameters
precision_tthe type of floating point value, must be either float, double or long double.

Definition at line 22 of file traits.hpp.