void _next_term(){ if( next_term != end_term){ term.cell() = complex->find_cell( next_term->cell()); term.coefficient( next_term->coefficient()); ++next_term; return; } _end_term(); }
void _next_term(){ if( next_term != end_term){ const auto & cell = complex->find_cell( next_term->cell()); term.cell() = cell->second.id(); term.coefficient( next_term->coefficient()); ++next_term; return; } _end_term(); }
//end constructor _const_filtration_boundary_iterator( Filtration & _f): filtration( &_f), complex( &(_f.complex())){ _end_term(); }
//end constructor _const_boundary_iterator( Complex & _complex): complex( &_complex){ _end_term(); }