|
Macaulay2 Engine
|
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 |
| iterator & | operator++ () |
| bool | operator< (const iterator &o) const |
| iterator | end () const |
Private Attributes | |
| const MutableComplex & | mComplex |
| const size_t | mIndex |
| std::pair< size_t, size_t > | mAddr |
Cursor pointing at one entry of one differential matrix in the complex: a (matrix index, (row, col)) triple.
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.