Macaulay2 Engine
Loading...
Searching...
No Matches
MutableComplex::iterator Class Reference

Cursor pointing at one entry of one differential matrix in the complex: a (matrix index, (row, col)) triple. More...

#include <mutablecomplex.hpp>

Public Member Functions

 iterator (const MutableComplex &C, const size_t n, std::pair< size_t, size_t > m)
 iterator (const MutableComplex &C, const size_t n)
 iterator (const iterator &i, std::pair< size_t, size_t > m)
size_t index () const
std::pair< size_t, size_t > & operator* ()
const std::pair< size_t, size_t > & operator* () const
iteratoroperator++ ()
bool operator< (const iterator &o) const
iterator end () const

Private Attributes

const MutableComplexmComplex
const size_t mIndex
std::pair< size_t, size_tmAddr

Detailed Description

Cursor pointing at one entry of one differential matrix in the complex: a (matrix index, (row, col)) triple.

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

mIndex selects which MutableMatrix in mDifferential and mAddr selects a position inside it. The pruning API uses iterators to walk candidate unit entries; next_unit / find_unit advance the cursor and prune_unit(it) row / column reduces the complex around that entry.

Definition at line 120 of file mutablecomplex.hpp.


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