|
ViennaCL - The Vienna Computing Library
1.5.1
|
Defines an iterator for the sparse vector type. More...
#include <amg_base.hpp>
Public Member Functions | |
| amg_sparsevector_iterator (InternalType &vec, bool begin=true) | |
| The constructor. | |
| bool | operator== (self_type other) |
| bool | operator!= (self_type other) |
| self_type & | operator++ () const |
| self_type & | operator++ () |
| self_type & | operator-- () const |
| self_type & | operator-- () |
| ScalarType & | operator* () const |
| ScalarType & | operator* () |
| unsigned int | index () const |
| unsigned int | index () |
Defines an iterator for the sparse vector type.
| amg_sparsevector_iterator | ( | InternalType & | vec, |
| bool | begin = true |
||
| ) | [inline] |
The constructor.
| vec | Internal sparse vector |
| begin | Whether the iterator starts at the beginning or end of vec |
| unsigned int index | ( | ) | const [inline] |
| unsigned int index | ( | ) | [inline] |
| bool operator!= | ( | self_type | other | ) | [inline] |
| ScalarType& operator* | ( | ) | const [inline] |
| ScalarType& operator* | ( | ) | [inline] |
| self_type& operator++ | ( | ) | const [inline] |
| self_type& operator++ | ( | ) | [inline] |
| self_type& operator-- | ( | ) | const [inline] |
| self_type& operator-- | ( | ) | [inline] |
| bool operator== | ( | self_type | other | ) | [inline] |
1.7.6.1