numeric(3)

📦 version 4.4.0, in nixpkgs unstable

💖 numeric(3) — the bestie edition 💖

okay so this is the numeric(3) page from the Library Functions Manual, the libstdc++ one, and it's literally all about parallel STL function calls that correspond to stl_numeric.h. Not me being dramatic, it's giving “tiny wrappers with main character energy.” 💅


🌸 NAME 🌸

numeric — 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. 🦋


✨ SYNOPSIS ✨

okay bestie, here's the whole cast. do not skip a single overload, i'm serious. 😭

🫶 Namespaces 🫶

  • namespace std
  • namespace std::__parallel

🎀 Defines 🎀

  • #define _GLIBCXX_PARALLEL_NUMERIC_H

👑 Functions 👑

no cap, every single overload is below. copy them exactly, don't freestyle the template args. 💀

  • 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)

🦋 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. 📁


🌈 Author 🌈

Generated automatically by Doxygen for libstdc++ from the source code. ✨


💖 cute sign-off: this page is from libstdc++, dated 21 Apr 2009, and its footer says numeric(3). byeee bestie, go parallelize responsibly! 💅✨

📦 where this page comes from