STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::infinite_nd< N > Class Template Reference

Represents an n-dimensional infinite domain. More...

Public Member Functions

 infinite_nd (index_type const &, index_type const &)
 
 infinite_nd (index_type const &, index_type const &, infinite)
 
template<typename Ignored >
 infinite_nd (Ignored &&)
 
index_type first (void) const
 
index_type last (void) const
 
index_type open_last (void) const
 Returns termination value for comparison. More...
 
bool contains (index_type const &) const
 
template<typename... Indices>
bool contains (Indices...) const
 
linear_size_type size (void) const
 
size_type dimensions (void) const
 
bool empty (void) const
 
bool is_same_container_domain (void) const
 
template<typename Distance >
index_type advance (index_type idx, Distance n) const
 
size_type distance (index_type const &i0, index_type const &i1) const
 
infinite_nd operator & (infinite_nd const &) const
 

Public Types

typedef std::integral_constant< int, N > dimension_type
 
typedef homogeneous_tuple_type< N, std::size_t >::type index_type
 
typedef homogeneous_tuple_type< N, std::size_t >::type gid_type
 
typedef homogeneous_tuple_type< N, std::size_t >::type size_type
 
typedef default_traversal< N >::type traversal_type
 
typedef std::size_t linear_size_type
 

Detailed Description

template<int N>
class stapl::infinite_nd< N >

Represents an n-dimensional infinite domain.

Member Function Documentation

◆ first()

template<int N>
index_type stapl::infinite_nd< N >::first ( void  ) const

◆ last()

template<int N>
index_type stapl::infinite_nd< N >::last ( void  ) const

◆ open_last()

template<int N>
index_type stapl::infinite_nd< N >::open_last ( void  ) const

Returns termination value for comparison.

◆ contains() [1/2]

template<int N>
bool stapl::infinite_nd< N >::contains ( index_type const &  ) const

◆ contains() [2/2]

template<int N>
template<typename... Indices>
bool stapl::infinite_nd< N >::contains ( Indices...  ) const

◆ size()

template<int N>
linear_size_type stapl::infinite_nd< N >::size ( void  ) const

◆ empty()

template<int N>
bool stapl::infinite_nd< N >::empty ( void  ) const

◆ is_same_container_domain()

template<int N>
bool stapl::infinite_nd< N >::is_same_container_domain ( void  ) const


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