array
C++ library for multi-dimensional arrays
|
#include <array.h>
Public Member Functions | |
index_iterator (index_t i) | |
NDARRAY_INLINE NDARRAY_HOST_DEVICE index_t | operator* () const |
NDARRAY_INLINE NDARRAY_HOST_DEVICE bool | operator== (const index_iterator &r) const |
NDARRAY_INLINE NDARRAY_HOST_DEVICE bool | operator!= (const index_iterator &r) const |
NDARRAY_INLINE NDARRAY_HOST_DEVICE index_iterator | operator++ (int) |
NDARRAY_INLINE NDARRAY_HOST_DEVICE index_iterator | operator-- (int) |
NDARRAY_INLINE NDARRAY_HOST_DEVICE index_iterator & | operator++ () |
NDARRAY_INLINE NDARRAY_HOST_DEVICE index_iterator & | operator-- () |
NDARRAY_INLINE NDARRAY_HOST_DEVICE index_iterator & | operator+= (index_t r) |
NDARRAY_INLINE NDARRAY_HOST_DEVICE index_iterator & | operator-= (index_t r) |
NDARRAY_INLINE NDARRAY_HOST_DEVICE index_iterator | operator+ (index_t r) |
NDARRAY_INLINE NDARRAY_HOST_DEVICE index_iterator | operator- (index_t r) |
NDARRAY_INLINE NDARRAY_HOST_DEVICE index_t | operator- (const index_iterator &r) |
NDARRAY_INLINE NDARRAY_HOST_DEVICE index_t | operator[] (index_t n) const |
An iterator representing an index.
|
inline |
Construct the iterator with an index i
.
|
inline |
Access the current index of this iterator.