A non-const iterator for sparse matrices of type std::vector<std::map<unsigned int, SCALARTYPE> >
More...
#include <adapter.hpp>
Detailed Description
template<typename SCALARTYPE, bool is_iterator1>
class viennacl::tools::sparse_matrix_adapted_iterator< SCALARTYPE, is_iterator1 >
A non-const iterator for sparse matrices of type std::vector<std::map<unsigned int, SCALARTYPE> >
The iterator behaves like ublas iterators. Attention: Iteration along first columns and then rows via .begin() is untested! Reverse iterators are missing!
- Template Parameters:
-
| SCALARTYPE | either float or double |
| is_iterator1 | if true, this iterator iterates along increasing row indices, otherwise along increasiong column indices |
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
unsigned int index1 |
( |
|
) |
const [inline] |
unsigned int index2 |
( |
|
) |
const [inline] |
bool operator!= |
( |
self_type const & |
other |
) |
const [inline] |
SCALARTYPE& operator* |
( |
void |
|
) |
[inline] |
self_type operator+= |
( |
unsigned int |
offset |
) |
[inline] |
bool operator== |
( |
self_type const & |
other |
) |
const [inline] |
The documentation for this class was generated from the following file:
- /data/development/ViennaCL/dev/viennacl/tools/adapter.hpp