# parallel/numeric File Reference

## Detailed Description

Parallel STL function calls corresponding to stl_numeric.h. The functions defined here mainly do case switches and call the actual parallelized versions in other files. Inlining policy: Functions that basically only contain one function call, are declared inline. This file is a GNU parallel extension to the Standard C++ Library.

Definition in file parallel/numeric.

Go to the source code of this file.

## Namespaces

- namespace std
- namespace std::__parallel

## Defines

- #define _GLIBCXX_PARALLEL_NUMERIC_H

## Functions

- template<typename InputIterator, typename T, typename BinaryOperation> T std::__parallel::accumulate (InputIterator begin, InputIterator end, T init, BinaryOperation binary_op)
- template<typename InputIterator, typename T, typename BinaryOperation> T std::__parallel::accumulate (InputIterator begin, InputIterator end, T init, BinaryOperation binary_op, __gnu_parallel::_Parallelism parallelism_tag)
- template<typename InputIterator, typename T> T std::__parallel::accumulate (InputIterator begin, InputIterator end, T init)
- template<typename InputIterator, typename T> T std::__parallel::accumulate (InputIterator begin, InputIterator end, T init, __gnu_parallel::_Parallelism parallelism_tag)
- template<typename InputIterator, typename T, typename BinaryOperation> T std::__parallel::accumulate (InputIterator begin, InputIterator end, T init, BinaryOperation binary_op, __gnu_parallel::sequential_tag)
- template<typename InputIterator, typename T> T std::__parallel::accumulate (InputIterator begin, InputIterator end, T init, __gnu_parallel::sequential_tag)
- template<typename _RandomAccessIterator, typename T, typename BinaryOperation> T std::__parallel::accumulate_switch (_RandomAccessIterator begin, _RandomAccessIterator end, T init, BinaryOperation binary_op, random_access_iterator_tag, __gnu_parallel::_Parallelism parallelism_tag=__gnu_parallel::parallel_unbalanced)
- template<typename InputIterator, typename T, typename BinaryOperation, typename IteratorTag> T std::__parallel::accumulate_switch (InputIterator begin, InputIterator end, T init, BinaryOperation binary_op, IteratorTag)
- template<typename InputIterator, typename T, typename IteratorTag> T std::__parallel::accumulate_switch (InputIterator begin, InputIterator end, T init, IteratorTag)
- template<typename InputIterator, typename OutputIterator, typename BinaryOperation> OutputIterator std::__parallel::adjacent_difference (InputIterator begin, InputIterator end, OutputIterator result, BinaryOperation binary_op)
- template<typename InputIterator, typename OutputIterator, typename BinaryOperation> OutputIterator std::__parallel::adjacent_difference (InputIterator begin, InputIterator end, OutputIterator result, BinaryOperation binary_op, __gnu_parallel::_Parallelism parallelism_tag)
- template<typename InputIterator, typename OutputIterator> OutputIterator std::__parallel::adjacent_difference (InputIterator begin, InputIterator end, OutputIterator result)
- template<typename InputIterator, typename OutputIterator> OutputIterator std::__parallel::adjacent_difference (InputIterator begin, InputIterator end, OutputIterator result, __gnu_parallel::_Parallelism parallelism_tag)
- template<typename InputIterator, typename OutputIterator, typename BinaryOperation> OutputIterator std::__parallel::adjacent_difference (InputIterator begin, InputIterator end, OutputIterator result, BinaryOperation bin_op, __gnu_parallel::sequential_tag)
- template<typename InputIterator, typename OutputIterator> OutputIterator std::__parallel::adjacent_difference (InputIterator begin, InputIterator end, OutputIterator result, __gnu_parallel::sequential_tag)
- template<typename InputIterator, typename OutputIterator, typename BinaryOperation> OutputIterator std::__parallel::adjacent_difference_switch (InputIterator begin, InputIterator end, OutputIterator result, BinaryOperation bin_op, random_access_iterator_tag, random_access_iterator_tag, __gnu_parallel::_Parallelism parallelism_tag=__gnu_parallel::parallel_balanced)
- template<typename InputIterator, typename OutputIterator, typename BinaryOperation, typename IteratorTag1, typename IteratorTag2> OutputIterator std::__parallel::adjacent_difference_switch (InputIterator begin, InputIterator end, OutputIterator result, BinaryOperation bin_op, IteratorTag1, IteratorTag2)
- template<typename InputIterator1, typename InputIterator2, typename T> T std::__parallel::inner_product (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, T init)
- template<typename InputIterator1, typename InputIterator2, typename T> T std::__parallel::inner_product (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, T init, __gnu_parallel::_Parallelism parallelism_tag)
- template<typename InputIterator1, typename InputIterator2, typename T, typename BinaryFunction1, typename BinaryFunction2> T std::__parallel::inner_product (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, T init, BinaryFunction1 binary_op1, BinaryFunction2 binary_op2)
- template<typename InputIterator1, typename InputIterator2, typename T, typename BinaryFunction1, typename BinaryFunction2> T std::__parallel::inner_product (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, T init, BinaryFunction1 binary_op1, BinaryFunction2 binary_op2, __gnu_parallel::_Parallelism parallelism_tag)
- template<typename InputIterator1, typename InputIterator2, typename T, typename BinaryFunction1, typename BinaryFunction2> T std::__parallel::inner_product (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, T init, BinaryFunction1 binary_op1, BinaryFunction2 binary_op2, __gnu_parallel::sequential_tag)
- template<typename InputIterator1, typename InputIterator2, typename T> T std::__parallel::inner_product (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, T init, __gnu_parallel::sequential_tag)
- template<typename InputIterator1, typename InputIterator2, typename T, typename BinaryFunction1, typename BinaryFunction2, typename IteratorTag1, typename IteratorTag2> T std::__parallel::inner_product_switch (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, T init, BinaryFunction1 binary_op1, BinaryFunction2 binary_op2, IteratorTag1, IteratorTag2)
- template<typename RandomAccessIterator1, typename RandomAccessIterator2, typename T, typename BinaryFunction1, typename BinaryFunction2> T std::__parallel::inner_product_switch (RandomAccessIterator1 first1, RandomAccessIterator1 last1, RandomAccessIterator2 first2, T init, BinaryFunction1 binary_op1, BinaryFunction2 binary_op2, random_access_iterator_tag, random_access_iterator_tag, __gnu_parallel::_Parallelism parallelism_tag=__gnu_parallel::parallel_unbalanced)
- template<typename InputIterator, typename OutputIterator, typename BinaryOperation> OutputIterator std::__parallel::partial_sum (InputIterator begin, InputIterator end, OutputIterator result, BinaryOperation binary_op)
- template<typename InputIterator, typename OutputIterator> OutputIterator std::__parallel::partial_sum (InputIterator begin, InputIterator end, OutputIterator result)
- template<typename InputIterator, typename OutputIterator, typename BinaryOperation> OutputIterator std::__parallel::partial_sum (InputIterator begin, InputIterator end, OutputIterator result, BinaryOperation bin_op, __gnu_parallel::sequential_tag)
- template<typename InputIterator, typename OutputIterator> OutputIterator std::__parallel::partial_sum (InputIterator begin, InputIterator end, OutputIterator result, __gnu_parallel::sequential_tag)
- template<typename InputIterator, typename OutputIterator, typename BinaryOperation> OutputIterator std::__parallel::partial_sum_switch (InputIterator begin, InputIterator end, OutputIterator result, BinaryOperation bin_op, random_access_iterator_tag, random_access_iterator_tag)
- template<typename InputIterator, typename OutputIterator, typename BinaryOperation, typename IteratorTag1, typename IteratorTag2> OutputIterator std::__parallel::partial_sum_switch (InputIterator begin, InputIterator end, OutputIterator result, BinaryOperation bin_op, IteratorTag1, IteratorTag2)