|
Macaulay2 Engine
|
Standards-style forward iterator over the vecterms of one column. More...
#include <matrix.hpp>
Public Member Functions | |
| column_iterator (const Matrix *M, int c) | |
| column_iterator (const Matrix *M) | |
| column_iterator & | operator++ () |
| const vecterm * | operator* () |
| bool | operator!= (const column_iterator b) |
Private Attributes | |
| const vecterm * | v |
Standards-style forward iterator over the vecterms of one column.
Simpler companion to iterator: holds a raw const vecterm* cursor, increments it with operator++, dereferences with operator*, and ends at nullptr. Suitable for range-for over a single column's terms (decreasing row order; zero entries are not present).
Definition at line 335 of file matrix.hpp.