Macaulay2 Engine
Loading...
Searching...
No Matches

◆ prune_matrix()

void MutableComplex::prune_matrix ( size_t n,
const size_t flags )

Definition at line 166 of file mutablecomplex.cpp.

167{
168 iterator i(*this, n);
169 while (find_unit(i, flags))
170 {
171 prune_unit(i, flags);
172 *i = *iterator(*this, n);
173 }
174}
Cursor pointing at one entry of one differential matrix in the complex: a (matrix index,...
void prune_unit(const iterator &i, const size_t flags)
const size_t flags
bool find_unit(iterator &i, const size_t flags) const

References find_unit(), flags, and prune_unit().

Referenced by prune_complex().