mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
add c++14 fft/dft range algorithms
This commit is contained in:
parent
aaf31f2ab8
commit
fe255a5e74
73 changed files with 877 additions and 17 deletions
29
sprout/range/numeric/fft/ifft.hpp
Normal file
29
sprout/range/numeric/fft/ifft.hpp
Normal file
|
@ -0,0 +1,29 @@
|
|||
/*=============================================================================
|
||||
Copyright (c) 2011-2014 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_FFT_IFFT_HPP
|
||||
#define SPROUT_RANGE_NUMERIC_FFT_IFFT_HPP
|
||||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/numeric/fft/ifft.hpp>
|
||||
|
||||
namespace sprout {
|
||||
namespace range {
|
||||
//
|
||||
// ifft
|
||||
//
|
||||
template<typename RandomAccessRange>
|
||||
inline SPROUT_CONSTEXPR void
|
||||
ifft(RandomAccessRange&& rng) {
|
||||
sprout::ifft(sprout::begin(SPROUT_FORWARD(RandomAccessRange, rng)), sprout::end(SPROUT_FORWARD(RandomAccessRange, rng)));
|
||||
}
|
||||
} // namespace range
|
||||
} // namespace sprout
|
||||
|
||||
#endif // #ifndef SPROUT_RANGE_NUMERIC_FFT_IFFT_HPP
|
Loading…
Add table
Add a link
Reference in a new issue