mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +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
|
@ -18,6 +18,12 @@ namespace sprout {
|
|||
spectrum(Input const& input, Result const& result) {
|
||||
return sprout::fixed::spectrum(sprout::begin(input), sprout::end(input), result);
|
||||
}
|
||||
|
||||
template<typename Result, typename Input>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fixed::result_of::algorithm<Result>::type
|
||||
spectrum(Input const& input) {
|
||||
return sprout::fixed::spectrum<Result>(sprout::begin(input), sprout::end(input));
|
||||
}
|
||||
} // namespace fixed
|
||||
|
||||
using sprout::range::fixed::spectrum;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue