STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
stapl::default_traversal< N, typename > Struct Template Reference

Metafunction to compute a the default traversal for an n-dimensional space. More...

Detailed Description

template<int N, typename = make_index_sequence<N>>
struct stapl::default_traversal< N, typename >

Metafunction to compute a the default traversal for an n-dimensional space.

Returns a tuple type that defines the importance of each element of the coordinate. The dimension holding 0 will be traversed first, followed by the dimension holding 1, and so on.

For example, the default traversal for a 3-dimensional space is <2, 1, 0>, which means that for a 3D coordinate (x, y, z), the z dimension will be traversed first, followed by y and ending with x.

Template Parameters
NThe number of dimensions in the space.
Note
icc-16 fails to expand an expression if the Indices shows up twice in the expansion.

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