# parallel/numeric File Reference

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. More...

Go to the source code of this file.

## Namespaces

- namespace std
- namespace std::__parallel

## Functions

- template<typename _IIter , typename _Tp , typename _IteratorTag > _Tp std::__parallel::__accumulate_switch (_IIter __begin, _IIter __end, _Tp __init, _IteratorTag)
- template<typename _IIter , typename _Tp , typename _BinaryOperation , typename _IteratorTag > _Tp std::__parallel::__accumulate_switch (_IIter __begin, _IIter __end, _Tp __init, _BinaryOperation __binary_op, _IteratorTag)
- template<typename __RAIter , typename _Tp , typename _BinaryOperation > _Tp std::__parallel::__accumulate_switch (__RAIter __begin, __RAIter __end, _Tp __init, _BinaryOperation __binary_op, random_access_iterator_tag, __gnu_parallel::_Parallelism __parallelism_tag=__gnu_parallel::parallel_unbalanced)
- template<typename _IIter , typename _OutputIterator , typename _BinaryOperation , typename _IteratorTag1 , typename _IteratorTag2 > _OutputIterator std::__parallel::__adjacent_difference_switch (_IIter __begin, _IIter __end, _OutputIterator __result, _BinaryOperation __bin_op, _IteratorTag1, _IteratorTag2)
- template<typename _IIter , typename _OutputIterator , typename _BinaryOperation > _OutputIterator std::__parallel::__adjacent_difference_switch (_IIter __begin, _IIter __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 _RAIter1 , typename _RAIter2 , typename _Tp , typename _BinaryFunction1 , typename _BinaryFunction2 > _Tp std::__parallel::__inner_product_switch (_RAIter1 __first1, _RAIter1 __last1, _RAIter2 __first2, _Tp __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 _IIter1 , typename _IIter2 , typename _Tp , typename _BinaryFunction1 , typename _BinaryFunction2 , typename _IteratorTag1 , typename _IteratorTag2 > _Tp std::__parallel::__inner_product_switch (_IIter1 __first1, _IIter1 __last1, _IIter2 __first2, _Tp __init, _BinaryFunction1 __binary_op1, _BinaryFunction2 __binary_op2, _IteratorTag1, _IteratorTag2)
- template<typename _IIter , typename _OutputIterator , typename _BinaryOperation , typename _IteratorTag1 , typename _IteratorTag2 > _OutputIterator std::__parallel::__partial_sum_switch (_IIter __begin, _IIter __end, _OutputIterator __result, _BinaryOperation __bin_op, _IteratorTag1, _IteratorTag2)
- template<typename _IIter , typename _OutputIterator , typename _BinaryOperation > _OutputIterator std::__parallel::__partial_sum_switch (_IIter __begin, _IIter __end, _OutputIterator __result, _BinaryOperation __bin_op, random_access_iterator_tag, random_access_iterator_tag)
- template<typename _IIter , typename _Tp , typename _BinaryOperation > _Tp std::__parallel::accumulate (_IIter __begin, _IIter __end, _Tp __init, _BinaryOperation __binary_op, __gnu_parallel::sequential_tag)
- template<typename _IIter , typename _Tp , typename _BinaryOperation > _Tp std::__parallel::accumulate (_IIter __begin, _IIter __end, _Tp __init, _BinaryOperation __binary_op, __gnu_parallel::_Parallelism __parallelism_tag)
- template<typename _IIter , typename _Tp , typename _BinaryOperation > _Tp std::__parallel::accumulate (_IIter __begin, _IIter __end, _Tp __init, _BinaryOperation __binary_op)
- template<typename _IIter , typename _Tp > _Tp std::__parallel::accumulate (_IIter __begin, _IIter __end, _Tp __init, __gnu_parallel::_Parallelism __parallelism_tag)
- template<typename _IIter , typename _Tp > _Tp std::__parallel::accumulate (_IIter __begin, _IIter __end, _Tp __init, __gnu_parallel::sequential_tag)
- template<typename _IIter , typename _Tp > _Tp std::__parallel::accumulate (_IIter __begin, _IIter __end, _Tp __init)
- template<typename _IIter , typename _OutputIterator > _OutputIterator std::__parallel::adjacent_difference (_IIter __begin, _IIter __end, _OutputIterator __result, __gnu_parallel::sequential_tag)
- template<typename _IIter , typename _OutputIterator , typename _BinaryOperation > _OutputIterator std::__parallel::adjacent_difference (_IIter __begin, _IIter __end, _OutputIterator __result, _BinaryOperation __bin_op, __gnu_parallel::sequential_tag)
- template<typename _IIter , typename _OutputIterator , typename _BinaryOperation > _OutputIterator std::__parallel::adjacent_difference (_IIter __begin, _IIter __end, _OutputIterator __result, _BinaryOperation __binary_op, __gnu_parallel::_Parallelism __parallelism_tag)
- template<typename _IIter , typename _OutputIterator , typename _BinaryOperation > _OutputIterator std::__parallel::adjacent_difference (_IIter __begin, _IIter __end, _OutputIterator __result, _BinaryOperation __binary_op)
- template<typename _IIter , typename _OutputIterator > _OutputIterator std::__parallel::adjacent_difference (_IIter __begin, _IIter __end, _OutputIterator __result)
- template<typename _IIter , typename _OutputIterator > _OutputIterator std::__parallel::adjacent_difference (_IIter __begin, _IIter __end, _OutputIterator __result, __gnu_parallel::_Parallelism __parallelism_tag)
- template<typename _IIter1 , typename _IIter2 , typename _Tp , typename _BinaryFunction1 , typename _BinaryFunction2 > _Tp std::__parallel::inner_product (_IIter1 __first1, _IIter1 __last1, _IIter2 __first2, _Tp __init, _BinaryFunction1 __binary_op1, _BinaryFunction2 __binary_op2, __gnu_parallel::sequential_tag)
- template<typename _IIter1 , typename _IIter2 , typename _Tp , typename _BinaryFunction1 , typename _BinaryFunction2 > _Tp std::__parallel::inner_product (_IIter1 __first1, _IIter1 __last1, _IIter2 __first2, _Tp __init, _BinaryFunction1 __binary_op1, _BinaryFunction2 __binary_op2)
- template<typename _IIter1 , typename _IIter2 , typename _Tp > _Tp std::__parallel::inner_product (_IIter1 __first1, _IIter1 __last1, _IIter2 __first2, _Tp __init, __gnu_parallel::_Parallelism __parallelism_tag)
- template<typename _IIter1 , typename _IIter2 , typename _Tp > _Tp std::__parallel::inner_product (_IIter1 __first1, _IIter1 __last1, _IIter2 __first2, _Tp __init)
- template<typename _IIter1 , typename _IIter2 , typename _Tp , typename _BinaryFunction1 , typename _BinaryFunction2 > _Tp std::__parallel::inner_product (_IIter1 __first1, _IIter1 __last1, _IIter2 __first2, _Tp __init, _BinaryFunction1 __binary_op1, _BinaryFunction2 __binary_op2, __gnu_parallel::_Parallelism __parallelism_tag)
- template<typename _IIter1 , typename _IIter2 , typename _Tp > _Tp std::__parallel::inner_product (_IIter1 __first1, _IIter1 __last1, _IIter2 __first2, _Tp __init, __gnu_parallel::sequential_tag)
- template<typename _IIter , typename _OutputIterator , typename _BinaryOperation > _OutputIterator std::__parallel::partial_sum (_IIter __begin, _IIter __end, _OutputIterator __result, _BinaryOperation __binary_op)
- template<typename _IIter , typename _OutputIterator > _OutputIterator std::__parallel::partial_sum (_IIter __begin, _IIter __end, _OutputIterator __result)
- template<typename _IIter , typename _OutputIterator > _OutputIterator std::__parallel::partial_sum (_IIter __begin, _IIter __end, _OutputIterator __result, __gnu_parallel::sequential_tag)
- template<typename _IIter , typename _OutputIterator , typename _BinaryOperation > _OutputIterator std::__parallel::partial_sum (_IIter __begin, _IIter __end, _OutputIterator __result, _BinaryOperation __bin_op, __gnu_parallel::sequential_tag)

## 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.