/*============================================================================= Copyright (c) 2011-2016 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =============================================================================*/ #ifndef SPROUT_RANGE_NUMERIC_DFT_DFT_ELEMENT_HPP #define SPROUT_RANGE_NUMERIC_DFT_DFT_ELEMENT_HPP #include #include #include #include namespace sprout { namespace range { // // dft_element // template inline SPROUT_CONSTEXPR typename sprout::container_traits::value_type dft_element(InputRange const& input, typename sprout::container_traits::difference_type i) { return sprout::dft_element(sprout::begin(input), sprout::end(input), i); } } // namespace range } // namespace sprout #endif // #ifndef SPROUT_RANGE_NUMERIC_DFT_DFT_ELEMENT_HPP