diff --git a/unsupported/Eigen/Complex b/unsupported/Eigen/Complex index a0483abdf..e1c41ab38 100644 --- a/unsupported/Eigen/Complex +++ b/unsupported/Eigen/Complex @@ -178,3 +178,5 @@ operator<< (std::basic_ostream& ostr, const Complex& rhs) } #endif +/* vim: set filetype=cpp et sw=2 ts=2 ai: */ + diff --git a/unsupported/Eigen/FFT b/unsupported/Eigen/FFT index dc7e85908..1e96f4975 100644 --- a/unsupported/Eigen/FFT +++ b/unsupported/Eigen/FFT @@ -46,21 +46,21 @@ namespace Eigen { template + typename _Impl=DEFAULT_FFT_IMPL<_Scalar> > class FFT { public: - typedef _Traits traits_type; - typedef typename traits_type::Scalar Scalar; - typedef typename traits_type::Complex Complex; + typedef _Impl impl_type; + typedef typename impl_type::Scalar Scalar; + typedef typename impl_type::Complex Complex; - FFT(const traits_type & traits=traits_type() ) :m_traits(traits) { } + FFT(const impl_type & impl=impl_type() ) :m_impl(impl) { } template void fwd( Complex * dst, const _Input * src, int nfft) { - m_traits.fwd(dst,src,nfft); + m_impl.fwd(dst,src,nfft); } template @@ -73,7 +73,7 @@ class FFT template void inv( _Output * dst, const Complex * src, int nfft) { - m_traits.inv( dst,src,nfft ); + m_impl.inv( dst,src,nfft ); } template @@ -86,10 +86,11 @@ class FFT // TODO: multi-dimensional FFTs // TODO: handle Eigen MatrixBase - traits_type & traits() {return m_traits;} + impl_type & impl() {return m_impl;} private: - traits_type m_traits; + impl_type m_impl; }; #undef DEFAULT_FFT_IMPL } #endif +/* vim: set filetype=cpp et sw=2 ts=2 ai: */