JayBeams  0.1
Another project to have fun coding.
Namespaces | Functions
cast.hpp File Reference
#include <jb/fftw/traits.hpp>
#include <boost/multi_array.hpp>

Go to the source code of this file.

Namespaces

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

Functions

template<typename F >
traits< F >::fftw_complex_type * jb::fftw::fftw_cast_array (std::complex< F > *ptr)
 
template<typename F >
traits< F >::fftw_complex_type const * jb::fftw::fftw_cast_array (std::complex< F > const *ptr)
 
template<typename F >
F * jb::fftw::fftw_cast_array (F *ptr)
 
template<typename F >
F const * jb::fftw::fftw_cast_array (F const *ptr)
 
template<typename vector >
auto jb::fftw::fftw_cast (vector &in) -> decltype(fftw_cast_array(&in[0]))
 
template<typename vector >
auto jb::fftw::fftw_cast (vector const &in) -> decltype(fftw_cast_array(&in[0]))
 
template<typename T , std::size_t K, typename A >
auto jb::fftw::fftw_cast (boost::multi_array< T, K, A > const &a) -> decltype(fftw_cast_array(a.data()))
 
template<typename T , std::size_t K, typename A >
auto jb::fftw::fftw_cast (boost::multi_array< T, K, A > &a) -> decltype(fftw_cast_array(a.data()))