1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2024-11-12 21:09:01 +00:00
Sprout/sprout/range/numeric/dft/idft_element.hpp
2013-02-04 01:10:26 +09:00

22 lines
757 B
C++

#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
//
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) {
return sprout::idft_element(sprout::begin(input), sprout::end(input), i);
}
} // namespace range
} // namespace sprout
#endif // #ifndef SPROUT_RANGE_NUMERIC_DFT_IDFT_ELEMENT_HPP