ViennaCL - The Vienna Computing Library
1.5.1
|
A slice class that refers to an interval [start, stop), where 'start' is included, and 'stop' is excluded. More...
#include <forwards.h>
Public Types | |
typedef SizeType | size_type |
typedef DistanceType | difference_type |
typedef size_type | value_type |
typedef value_type | const_reference |
typedef const_reference | reference |
Public Member Functions | |
basic_slice () | |
basic_slice (size_type start_index, difference_type stride_arg, size_type size_arg) | |
size_type | start () const |
difference_type | stride () const |
size_type | size () const |
const_reference | operator() (size_type i) const |
const_reference | operator[] (size_type i) const |
bool | operator== (const basic_slice &s) const |
bool | operator!= (const basic_slice &s) const |
A slice class that refers to an interval [start, stop), where 'start' is included, and 'stop' is excluded.
Similar to the boost::numeric::ublas::basic_range class.
typedef value_type const_reference |
typedef DistanceType difference_type |
typedef const_reference reference |
typedef SizeType size_type |
typedef size_type value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |