Macaulay2 Engine
Loading...
Searching...
No Matches
Matrix::column_iterator Class Reference

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_iteratoroperator++ ()
const vectermoperator* ()
bool operator!= (const column_iterator b)

Private Attributes

const vectermv

Detailed Description

Standards-style forward iterator over the vecterms of one column.

Note
AI-generated documentation. Verify against the source before relying on it.

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.


The documentation for this class was generated from the following file: