__GNU_PARALLEL::__INNER_PRODUCT_SELECTOR(3cxx)
π
__gnu_parallel::__inner_product_selector< _It, _It2, _Tp > β the 3cxx manual page
okay bestie, welcome to the 3cxx manual page for __gnu_parallel::__inner_product_selector< _It, _It2, _Tp > β she is a libstdc++ icon and she is here to select your std::inner_product() vibe πβ¨
πΈ NAME πΈ
__gnu_parallel::__inner_product_selector< _It, _It2, _Tp > β the std::inner_product() selector. that's the whole NAME, no cap π
β¨ SYNOPSIS β¨
#include <for_each_selectors.h>
Inherits __gnu_parallel::__generic_for_each_selector< _It >.
π«Ά Public Member Functions
__inner_product_selector(_It __b1, _It2 __b2)β Constructor. literally the setup girlie πtemplate<typename _Op > _Tp operator()(_Op __mult, _It __current)β Functor execution. this is where she does the thing β¨
π Public Attributes
_It __begin1_iteratorβ Begin iterator of first sequence. first-sequence bestie π«Ά_It2 __begin2_iteratorβ Begin iterator of second sequence. second-sequence bestie π«Ά_It _M_finish_iteratorβ_Iteratoron last element processed; needed for some algorithms (e. g.std::transform()). lowkey important for some algorithms π
π¦ Detailed Description π¦
template<typename _It, typename _It2, typename _Tp>
struct __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >
std::inner_product() selector. that's the tea β she selects, she slays, periodt π
π Constructor & Destructor Documentation π
template<typename _It , typename _It2 , typename _Tp > __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::__inner_product_selector (_It __b1, _It2 __b2) [inline], [explicit]
Constructor. she's [inline] and [explicit], and she knows it π
Parameters
__b1β Begin iterator of first sequence.__b2β Begin iterator of second sequence.
π₯ Member Function Documentation π₯
template<typename _It , typename _It2 , typename _Tp > template<typename _Op > _Tp __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::operator() (_Op __mult, _It __current) [inline]
Functor execution. she's [inline] and ready to execute the functor, no cap β¨
Parameters
__multβ Multiplication functor.__currentβ iterator referencing object.
Returns
Inner product elemental __result.
References
__gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::__begin1_iterator, and __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::__begin2_iterator.
π Member Data Documentation π
template<typename _It , typename _It2 , typename _Tp > _It __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::__begin1_iterator
Begin iterator of first sequence.
Referenced by __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::operator()().
template<typename _It , typename _It2 , typename _Tp > _It2 __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::__begin2_iterator
Begin iterator of second sequence.
Referenced by __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::operator()().
template<typename _It > _It __gnu_parallel::__generic_for_each_selector< _It >::_M_finish_iterator [inherited]
_Iterator on last element processed; needed for some algorithms (e. g. std::transform()). inherited and still iconic π
β Author β
Generated automatically by Doxygen for libstdc++ from the source code.
k bye bestie π this page lives in the libstdc++ source/manual vibe 3cxx, and the footer doesn't hand us a specific date on this copy β so we're not inventing one, periodt. generated automatically by Doxygen for libstdc++ from the source code, and yes she ate π
π
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms