STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types | Public Attributes
stapl::nd_reverse_linearize< GID, Traversal > Struct Template Reference

Translates a 1-dimensional linearized GID to its n-dimensional GID, based on the given Traversal order. More...

Public Member Functions

 nd_reverse_linearize (void)=default
 
 nd_reverse_linearize (size_type const &size)
 
 nd_reverse_linearize (nd_linearize< GID, Traversal > const &other)
 
gid_type operator() (index_type linear) const
 

Public Types

enum  { last_idx = tuple_size<size_type>::value - 1 }
 
typedef GID gid_type
 
typedef gid_type result_type
 
typedef std::size_t index_type
 
typedef gid_type size_type
 
typedef nd_linearize< GID, Traversal > inverse
 
typedef std::true_type is_bijective
 

Public Attributes

size_type m_size
 

Detailed Description

template<typename GID, typename Traversal>
struct stapl::nd_reverse_linearize< GID, Traversal >

Translates a 1-dimensional linearized GID to its n-dimensional GID, based on the given Traversal order.

Constructor & Destructor Documentation

◆ nd_reverse_linearize()

template<typename GID, typename Traversal>
stapl::nd_reverse_linearize< GID, Traversal >::nd_reverse_linearize ( void  )
default

Member Function Documentation

◆ operator()()

template<typename GID, typename Traversal>
gid_type stapl::nd_reverse_linearize< GID, Traversal >::operator() ( index_type  linear) const

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