---
name: "__gnu_parallel::inner_product_selector"
section: "3cxx"
platform: "linux"
package: "libstdc++6-4.4-doc"
version: "4.4.7-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_parallel::inner_product_selector/3cxx"
---

# \_\_gnu\_parallel::inner\_product\_selector(3cxx)

## NAME

\_\_gnu\_parallel::inner\_product\_selector\< It, It2, T \> -

## SYNOPSIS

Inherits **\_\_gnu\_parallel::generic\_for\_each\_selector\< It \>**.

### Public Member Functions

**inner\_product\_selector** (It b1, It2 b2)\
 template\<typename Op \> T **operator()** (Op mult, It current)\

### Public Attributes

It **begin1\_iterator**\
 It2 **begin2\_iterator**\
 It **finish\_iterator**\

## Detailed Description

### template\<typename It, typename It2, typename T\>struct \_\_gnu\_parallel::inner\_product\_selector\< It, It2, T \>

**std::inner\_product()** selector.

Definition at line 223 of file for\_each\_selectors.h.

## Constructor & Destructor Documentation

### template\<typename It , typename It2 , typename T \> \_\_gnu\_parallel::inner\_product\_selector\< It, It2, T \>::inner\_product\_selector (Itb1, It2b2)` [inline]`, ` [explicit]`

Constructor. **Parameters:**

*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

### template\<typename It , typename It2 , typename T \> template\<typename Op \> T \_\_gnu\_parallel::inner\_product\_selector\< It, It2, T \>::operator() (Opmult, Itcurrent)` [inline]`

Functor execution. **Parameters:**

*mult* Multiplication functor. \
 *current* Iterator referencing object.

**Returns:**

Inner product elemental result.

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

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

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

### template\<typename It \> 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.
