![]() |
CMR
1.3.0
|
Iterator for row- or column-wise iteration over the entries. More...
#include <matrix.hpp>
Public Member Functions | |
| NonzeroIterator (const SparseMatrix< V > &matrix, Index major) | |
| NonzeroIterator (const SparseMatrix< V > &matrix, Index major, int dummy) | |
| NonzeroIterator (const NonzeroIterator &other) | |
| Copy constructor. More... | |
| const Nonzero | operator* () const |
| Returns the current entry. More... | |
| void | operator++ () |
| Advances to the next entry in the same major. More... | |
| bool | operator!= (const NonzeroIterator< Row > &other) const |
| Compares two iterators for being not equal. More... | |
Iterator for row- or column-wise iteration over the entries.
|
inline |
|
inline |
|
inline |
Copy constructor.
|
inline |
Compares two iterators for being not equal.
|
inline |
Returns the current entry.
|
inline |
Advances to the next entry in the same major.