__gnu_para...t_selector(3)
π NAME π
hey bestie, welcome to the __gnu_para...t_selector(3) page from the Library Functions Manual β¨. This is __gnu_parallel::inner_product_selector β the selector for std::inner_product(), periodt. That's the whole name vibe: std::inner_product() selector.
β¨ SYNOPSIS β¨
ok so real talk: it inherits generic_for_each_selector< It >.
πΈ Public Member Functions πΈ
inner_product_selector (It b1, It2 b2)β constructor, takingb1andb2(begin iterators, more deets below).template<typename Op > T operator() (Op mult, It current)β the functor execution moment, taking a multiplication functormultand an iteratorcurrent.
π«Ά Public Attributes π«Ά
It begin1_iteratorβ begin iterator of first sequence.It2 begin2_iteratorβ begin iterator of second sequence.It finish_iteratorβ inherited; iterator on last element processed; needed for some algorithms (e. g.std::transform()).
π¦ Detailed Description π¦
template<typename It, typename It2, typename T> struct
__gnu_parallel::inner_product_selector< It, It2, T >
std::inner_product() selector β iconic behavior, honestly.
Definition at line 223 of file for_each_selectors.h.
π Constructor & Destructor Documentation π
π inner_product_selector π
template<typename It , typename It2 , typename T >
__gnu_parallel::inner_product_selector< It, It2, T
>::inner_product_selector (It b1, It2 b2) [inline, explicit]
Constructor, bestie. It takes:
b1β Begin iterator of first sequence.b2β Begin iterator of second sequence.
Definition at line 235 of file for_each_selectors.h.
π₯ Member Function Documentation π₯
π
operator() π
template<typename It , typename It2 , typename T > template<typename Op > T
__gnu_parallel::inner_product_selector< It, It2, T >::operator() (Op
mult, It current) [inline]
Functor execution β this is where it does the thing β¨.
Parameters:
multβ Multiplication functor.currentβ Iterator referencing object.
Returns: Inner product elemental result. (slay.)
Definition at line 244 of file for_each_selectors.h.
References __gnu_parallel::inner_product_selector< It, It2, T >::begin1_iterator, and __gnu_parallel::inner_product_selector< It, It2, T >::begin2_iterator.
π Member Data Documentation π
π begin1_iterator π
template<typename It , typename It2 , typename T > It
__gnu_parallel::inner_product_selector< It, It2, T >::begin1_iterator
Begin iterator of first sequence.
Definition at line 226 of file for_each_selectors.h.
Referenced by __gnu_parallel::inner_product_selector< It, It2, T >::operator()().
π begin2_iterator π
template<typename It , typename It2 , typename T > It2
__gnu_parallel::inner_product_selector< It, It2, T >::begin2_iterator
Begin iterator of second sequence.
Definition at line 229 of file for_each_selectors.h.
Referenced by __gnu_parallel::inner_product_selector< It, It2, T >::operator()().
π finish_iterator π
It __gnu_parallel::generic_for_each_selector< It >::finish_iterator [inherited]
Iterator on last element processed; needed for some algorithms (e. g. std::transform()).
Definition at line 48 of file for_each_selectors.h.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. (So no mysterious human author to stan β it's the Doxygen robot doing its little autogenerated dance π«Ά.)
That's the whole page, bestie! It's from libstdc++ and dated 21 Apr 2009 β mwah, bye πβ¨
π¦ where this page comes from
- nixpkgs unstable: std-man-pages 4.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms