__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 β€” _Iterator on 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 πŸ’…πŸŽ€