STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Static Public Member Functions
stapl::detail::reorder_localize_linearize< Iterate, LastIdx, Traversal > Struct Template Reference

Reorders input Indices according to provided traversal order, decrements each by corresponding value in first and then multiplies by corresponding value in plane_sizes, accumulating the results into a linearized index. More...

Static Public Member Functions

template<typename Tuple , typename Index , typename... Indices>
static size_t apply (Tuple const &first, Tuple const &plane_sizes, Index &&i, Indices &&... is)
 

Detailed Description

template<int Iterate, int LastIdx, typename Traversal>
struct stapl::detail::reorder_localize_linearize< Iterate, LastIdx, Traversal >

Reorders input Indices according to provided traversal order, decrements each by corresponding value in first and then multiplies by corresponding value in plane_sizes, accumulating the results into a linearized index.


The documentation for this struct was generated from the following file: