__gnu_parallel::__inner_product_selector< _It, _It2, _Tp >

Section: C Library Functions (3)
Updated: Wed Apr 17 2019
Page Index
 

NAME

__gnu_parallel::__inner_product_selector< _It, _It2, _Tp > - std::inner_product() selector.

 

SYNOPSIS


Inherits __gnu_parallel::__generic_for_each_selector< _It >.  

Public Member Functions


__inner_product_selector (_It __b1, _It2 __b2)
Constructor.
template<typename _Op > _Tp operator() (_Op __mult, _It __current)
Functor execution.  

Public Attributes


_It __begin1_iterator
Begin iterator of first sequence.
_It2 __begin2_iterator
Begin iterator of second sequence.
_It _M_finish_iterator
_Iterator on last element processed; needed for some algorithms (e. g. std::transform()).  

Detailed Description

 

template<typename _It, typename _It2, typename _Tp>


struct __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >" std::inner_product() selector.

Definition at line 222 of file for_each_selectors.h.  

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.

Parameters:

__b1 Begin iterator of first sequence.
__b2 Begin iterator of second sequence.

Definition at line 234 of file for_each_selectors.h.  

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.

Parameters:

__mult Multiplication functor.
__current iterator referencing object.

Returns:

Inner product elemental __result.

Definition at line 243 of file for_each_selectors.h.

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.

Definition at line 225 of file for_each_selectors.h.

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.

Definition at line 228 of file for_each_selectors.h.

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()).

Definition at line 47 of file for_each_selectors.h.

 

Author

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


 

Index

NAME
SYNOPSIS
Public Member Functions
Public Attributes
Detailed Description
template<typename _It, typename _It2, typename _Tp>
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]
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]
Member Data Documentation
template<typename _It , typename _It2 , typename _Tp > _It __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::__begin1_iterator
template<typename _It , typename _It2 , typename _Tp > _It2 __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::__begin2_iterator
template<typename _It > _It __gnu_parallel::__generic_for_each_selector< _It >::_M_finish_iterator [inherited]
Author