Polymorphic implementation of the Stencil pattern.
More...
|
template<typename InputIt , typename OutputIt , typename StencilTransformer , typename Neighbourhood > |
void | grppi::stencil (polymorphic_execution &ex, InputIt first, InputIt last, OutputIt first_out, StencilTransformer &&transform_op, Neighbourhood &&neighbour_op) |
| Invoke Stencil pattern on a data sequence with polymorphic execution. More...
|
|
template<typename InputIt , typename OutputIt , typename StencilTransformer , typename Neighbourhood , typename... OtherInputIts> |
void | grppi::stencil (polymorphic_execution &ex, InputIt first, InputIt last, OutputIt first_out, StencilTransformer &&transform_op, Neighbourhood &&neighbour_op, OtherInputIts...other_its) |
| Invoke Stencil pattern on multiple data sequences with sequential execution. More...
|
|
Polymorphic implementation of the Stencil pattern.
template<typename InputIt , typename OutputIt , typename StencilTransformer , typename Neighbourhood >
void grppi::stencil |
( |
polymorphic_execution & |
ex, |
|
|
InputIt |
first, |
|
|
InputIt |
last, |
|
|
OutputIt |
first_out, |
|
|
StencilTransformer && |
transform_op, |
|
|
Neighbourhood && |
neighbour_op |
|
) |
| |
Invoke Stencil pattern on a data sequence with polymorphic execution.
- Template Parameters
-
InputIt | Iterator type used for the input sequence. |
OutputIt | Iterator type used for the output sequence |
Neighbourhood | Callable type for obtaining the neighbourhood. |
StencilTransformer | Callable type for performing the stencil transformation. |
- Parameters
-
ex | Polymorphic execution policy object. |
first | Iterator to the first element in the input sequence. |
last | Iterator to one past the end of the input sequence. |
out | Iterator to the first element in the output sequence. |
transform_op | Stencil transformation operation. |
neighbour_op | Neighbourhood operation. |
template<typename InputIt , typename OutputIt , typename StencilTransformer , typename Neighbourhood , typename... OtherInputIts>
void grppi::stencil |
( |
polymorphic_execution & |
ex, |
|
|
InputIt |
first, |
|
|
InputIt |
last, |
|
|
OutputIt |
first_out, |
|
|
StencilTransformer && |
transform_op, |
|
|
Neighbourhood && |
neighbour_op, |
|
|
OtherInputIts... |
other_its |
|
) |
| |
Invoke Stencil pattern on multiple data sequences with sequential execution.
- Template Parameters
-
InputIt | Iterator type used for the input sequence. |
OutputIt | Iterator type used for the output sequence |
Neighbourhood | Callable type for obtaining the neighbourhood. |
StencilTransformer | Callable type for performing the stencil transformation. |
OtherInputIts | Iterator types for additional input sequences. |
- Parameters
-
ex | Sequential execution policy object. |
first | Iterator to the first element in the input sequence. |
last | Iterator to one past the end of the input sequence. |
out | Iterator to the first element in the output sequence. |
transform_op | Stencil transformation operation. |
neighbour_op | Neighbourhood operation. |
other_firsts | Iterators to the first element of additional input sequences. |