mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-18 15:24:11 +00:00
support STL container: numeric, numeric/dft
This commit is contained in:
parent
092910e2f7
commit
aace49ac65
51 changed files with 812 additions and 101 deletions
|
@ -15,6 +15,12 @@ namespace sprout {
|
|||
spectrum(InputIterator first, InputIterator last, Result const& result) {
|
||||
return sprout::fixed::amplitude_spectrum(first, last, result);
|
||||
}
|
||||
|
||||
template<typename Result, typename InputIterator>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fixed::result_of::algorithm<Result>::type
|
||||
spectrum(InputIterator first, InputIterator last) {
|
||||
return sprout::fixed::amplitude_spectrum<Result>(first, last);
|
||||
}
|
||||
} // namespace fixed
|
||||
|
||||
using sprout::fixed::spectrum;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue