ViennaCL - The Vienna Computing Library
1.5.0
|
A range class that refers to an interval [start, stop), where 'start' is included, and 'stop' is excluded. More...
#include <range.hpp>
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_range () | |
basic_range (size_type start_index, size_type stop_index) | |
size_type | start () const |
size_type | size () const |
const_reference | operator() (size_type i) const |
const_reference | operator[] (size_type i) const |
bool | operator== (const basic_range &r) const |
bool | operator!= (const basic_range &r) const |
A range 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 |
basic_range | ( | ) | [inline] |
basic_range | ( | size_type | start_index, |
size_type | stop_index | ||
) | [inline] |
bool operator!= | ( | const basic_range< SizeType, DistanceType > & | r | ) | const [inline] |
const_reference operator() | ( | size_type | i | ) | const [inline] |
bool operator== | ( | const basic_range< SizeType, DistanceType > & | r | ) | const [inline] |
const_reference operator[] | ( | size_type | i | ) | const [inline] |