Definition at line 152 of file montable.cpp.
156{
157 assert(comp >= 1);
159 if (comp >= static_cast<int>(_head.size())) return 0;
162 {
164 return 1;
165 }
167 int nmatches = 0;
168 unsigned long expmask = ~exponents::mask(
_nvars, exp);
169
170
172 t = tnext, tnext = t->
_next)
173 if ((expmask & t->_mask) == 0)
174 {
175
177 {
178 nmatches++;
181
183 if (
max >= 0 && nmatches >=
max)
break;
184 }
185 }
186
187
188
189
190 return nmatches;
191}
static bool divides(int nvars, ConstExponents a, ConstExponents b)
VALGRIND_MAKE_MEM_DEFINED & result(result)
Doubly-linked-list node of a MonomialTable's per-component monomial list.
References _last_match, _last_match_comp, MonomialTable::mon_term::_next, _nvars, ExponentVector< int, true >::divides(), max, and result().
Referenced by ReducedGB_Field_Local::find_good_divisor(), and gbA::minimalize_pairs_non_ZZ().