GrPPI
0.3.1
Generic and Reusable Parallel Pattern Interface
|
Interface for applyinng the Map pattern. More...
![]() |
Functions | |
template<typename Execution , typename... InputIterators, typename InputIt , typename OutputIt , typename Transformer , requires_iterators< InputIterators... > = 0, requires_iterator< InputIt > = 0, requires_iterator< OutputIt > = 0> | |
void | grppi::map (const Execution &ex, std::tuple< InputIterators... > firsts, InputIt last, OutputIt first_out, Transformer transform_op) |
Invoke Map pattern on a data sequence. More... | |
template<typename Execution , typename... InputIterators, typename OutputIt , typename Transformer , requires_iterators< InputIterators... > = 0, requires_iterator< OutputIt > = 0> | |
void | grppi::map (const Execution &ex, std::tuple< InputIterators... > firsts, std::size_t range, OutputIt first_out, Transformer transformer_op) |
Invoke Map pattern on a data sequence. More... | |
template<typename Execution , typename InputIt , typename OutputIt , typename Transformer , requires_iterator< InputIt > = 0, requires_iterator< OutputIt > = 0> | |
void | grppi::map (const Execution &ex, InputIt first, InputIt last, OutputIt first_out, Transformer transform_op) |
Invoke Map pattern on a data sequence. More... | |
template<typename Execution , typename InputIt , typename OutputIt , typename Transformer , typename... OtherInputIts, requires_iterator< InputIt > = 0, requires_iterator< OutputIt > = 0> | |
void | grppi::map (const Execution &ex, InputIt first, InputIt last, OutputIt first_out, Transformer transform_op, OtherInputIts...other_firsts) |
Invoke Map pattern on a data sequence. More... | |
Interface for applyinng the Map pattern.
void grppi::map | ( | const Execution & | ex, |
std::tuple< InputIterators... > | firsts, | ||
InputIt | last, | ||
OutputIt | first_out, | ||
Transformer | transform_op | ||
) |
Invoke Map pattern on a data sequence.
InputIterators | Iterator types used for input sequences. |
InputIt | Iterator type used for any input sequence. |
OtuputIt | Iterator type used for the output sequence. |
Transformer | Callable type for the transformation operation. |
ex | Execution policy object. |
firsts | Tuple of Iterators to the first element in the inputs sequences. |
last | Iterator to one past the end of one of the input sequence. |
first_out | Iterator to first element of the output sequence. |
transform_op | Transformation operation. |
void grppi::map | ( | const Execution & | ex, |
std::tuple< InputIterators... > | firsts, | ||
std::size_t | range, | ||
OutputIt | first_out, | ||
Transformer | transformer_op | ||
) |
Invoke Map pattern on a data sequence.
InputIterators | Iterator types used for input sequences. |
OtuputIt | Iterator type used for the output sequence. |
Transformer | Callable type for the transformation operation. |
ex | Execution policy object. |
firsts | Tuple of Iterators to the first element in the inputs sequences. |
range | Size of the input sequences to go through. |
first_out | Iterator to first element of the output sequence. |
transform_op | Transformation operation. |
void grppi::map | ( | const Execution & | ex, |
InputIt | first, | ||
InputIt | last, | ||
OutputIt | first_out, | ||
Transformer | transform_op | ||
) |
Invoke Map pattern on a data sequence.
InputIt | Iterator type used for input sequence. |
OtuputIt | Iterator type used for the output sequence. |
Transformer | Callable type for the transformation operation. |
ex | Execution policy object. |
first | Iterator to the first element in the input sequence. |
last | Iterator to one past the end of the input sequence. |
first_out | Iterator to first elemento of the output sequence. |
transform_op | Transformation operation. |
void grppi::map | ( | const Execution & | ex, |
InputIt | first, | ||
InputIt | last, | ||
OutputIt | first_out, | ||
Transformer | transform_op, | ||
OtherInputIts... | other_firsts | ||
) |
Invoke Map pattern on a data sequence.
InputIt | Iterator type used for input sequence. |
OtuputIt | Iterator type used for the output sequence. |
Transformer | Callable type for the transformation operation. |
OtherInputIts | Iterator types used for additional input sequences. |
ex | Execution policy object. |
first | Iterator to the first element in the input sequence. |
last | Iterator to one past the end of the input sequence. |
first_out | Iterator to first element of the output sequence. |
transform_op | Transformation operation. |
more_firsts | Additional iterators with first elements of additional sequences. |