15 #include <boost/thread/condition.hpp> 16 #include <boost/thread/mutex.hpp> 17 #include <boost/thread/thread.hpp> 18 #include <boost/lexical_cast.hpp> 20 #include "../JASPL/jTypeTraits/jtypetraits.h" 24 template <
typename T >
27 JFFT(
bool use_threading =
false );
30 T PowerSpectrum(
const T& input );
31 void SetUp( uint size );
36 bool threading =
true;
39 std::atomic<uint> N, fft_size;
40 typename T::value_type norm_factor;
42 fftwf_complex *in = NULL;
43 fftwf_complex *out = NULL;
45 boost::shared_mutex monitor;
49 #include "../../JASPL/jFFT/jfft.tpp"