Sprout/sprout/range/numeric/dft/idft_element.hpp

30 lines
1.1 KiB
C++
Raw Normal View History

2013-08-08 09:54:33 +00:00
/*=============================================================================
Copyright (c) 2011-2013 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)
=============================================================================*/
2012-12-03 12:48:50 +00:00
#ifndef SPROUT_RANGE_NUMERIC_DFT_IDFT_ELEMENT_HPP
#define SPROUT_RANGE_NUMERIC_DFT_IDFT_ELEMENT_HPP
#include <sprout/config.hpp>
#include <sprout/container/traits.hpp>
#include <sprout/container/functions.hpp>
#include <sprout/numeric/dft/idft_element.hpp>
namespace sprout {
namespace range {
//
// idft_element
//
2013-02-03 16:10:26 +00:00
template<typename InputRange>
inline SPROUT_CONSTEXPR typename sprout::container_traits<InputRange>::value_type
idft_element(InputRange const& input, typename sprout::container_traits<InputRange>::difference_type i) {
2012-12-03 12:48:50 +00:00
return sprout::idft_element(sprout::begin(input), sprout::end(input), i);
}
} // namespace range
} // namespace sprout
#endif // #ifndef SPROUT_RANGE_NUMERIC_DFT_IDFT_ELEMENT_HPP