Lines Matching refs:InputIterator

19 template <class InputIterator, class T>
21 accumulate(InputIterator first, InputIterator last, T init);
23 template <class InputIterator, class T, class BinaryOperation>
25 accumulate(InputIterator first, InputIterator last, T init, BinaryOperation binary_op);
27 template<class InputIterator>
28 constexpr typename iterator_traits<InputIterator>::value_type // constexpr since C++20
29 reduce(InputIterator first, InputIterator last); // C++17
31 template<class InputIterator, class T>
33 reduce(InputIterator first, InputIterator last, T init); // C++17
35 template<class InputIterator, class T, class BinaryOperation>
37 reduce(InputIterator first, InputIterator last, T init, BinaryOperation binary_op); // C++17
60 template<class InputIterator, class T, class BinaryOperation, class UnaryOperation>
62 transform_reduce(InputIterator first, InputIterator last, T init,
65 template <class InputIterator, class OutputIterator>
67 partial_sum(InputIterator first, InputIterator last, OutputIterator result);
69 template <class InputIterator, class OutputIterator, class BinaryOperation>
71 …partial_sum(InputIterator first, InputIterator last, OutputIterator result, BinaryOperation binary…
73 template<class InputIterator, class OutputIterator, class T>
75 exclusive_scan(InputIterator first, InputIterator last,
78 template<class InputIterator, class OutputIterator, class T, class BinaryOperation>
80 exclusive_scan(InputIterator first, InputIterator last,
83 template<class InputIterator, class OutputIterator>
85 inclusive_scan(InputIterator first, InputIterator last, OutputIterator result); // C++17
87 template<class InputIterator, class OutputIterator, class BinaryOperation>
89 inclusive_scan(InputIterator first, InputIterator last,
92 template<class InputIterator, class OutputIterator, class BinaryOperation, class T>
94 inclusive_scan(InputIterator first, InputIterator last,
97 template<class InputIterator, class OutputIterator, class T,
100 transform_exclusive_scan(InputIterator first, InputIterator last,
104 template<class InputIterator, class OutputIterator,
107 transform_inclusive_scan(InputIterator first, InputIterator last,
111 template<class InputIterator, class OutputIterator,
114 transform_inclusive_scan(InputIterator first, InputIterator last,
119 template <class InputIterator, class OutputIterator>
121 adjacent_difference(InputIterator first, InputIterator last, OutputIterator result);
123 template <class InputIterator, class OutputIterator, class BinaryOperation>
125 …adjacent_difference(InputIterator first, InputIterator last, OutputIterator result, BinaryOperatio…