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 SizeT | size_type |
typedef DistanceT | 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, size_type stride_arg, size_type size_arg) | |
size_type | start () const |
size_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.
Definition at line 429 of file forwards.h.
typedef value_type viennacl::basic_slice< SizeT, DistanceT >::const_reference |
typedef DistanceT viennacl::basic_slice< SizeT, DistanceT >::difference_type |
typedef const_reference viennacl::basic_slice< SizeT, DistanceT >::reference |
typedef SizeT viennacl::basic_slice< SizeT, DistanceT >::size_type |
typedef size_type viennacl::basic_slice< SizeT, DistanceT >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |