#ifndef SPROUT_FUNCTIONAL_FFT_FIT_BITREV_TABLE_HPP #define SPROUT_FUNCTIONAL_FFT_FIT_BITREV_TABLE_HPP #include #include #include #include #include #include #include namespace sprout { namespace fit { namespace detail { template SPROUT_CONSTEXPR inline typename sprout::fit::result_of::algorithm::type bitrev_table_impl( Container const& cont, typename sprout::container_traits::difference_type offset ) { return sprout::sub_copy( sprout::get_internal(sprout::fixed::bitrev_table(cont)), offset, offset + sprout::size(cont) ); } } // namespace detail // // bitrev_table // template SPROUT_CONSTEXPR inline typename sprout::fit::result_of::algorithm::type bitrev_table( Container const& cont ) { return sprout::fit::detail::bitrev_table_impl(cont, sprout::internal_begin_offset(cont)); } } // namespace fit } // namespace sprout #endif // #ifndef SPROUT_FUNCTIONAL_FFT_FIT_BITREV_TABLE_HPP