linbox
|
a forward iterator. More...
#include <sparse-csr-matrix.h>
a forward iterator.
Allows traversing the nonzero values, with position info. Used, for example, in building an equivalent dense matrix.
Preincrement, ++i, is provided, but not postincrement, i++. Dereference, *i, is replaced by i.rowIndex(), i.colIndex(), i.value().
No distinction is made between IndexedIterator and ConstIndexedIterator. In particular, value() is not a reference. To modify the matrix use setEntry().