Definition at line 1497 of file res-a0.cpp.
1502{
1503
1506
1507 res2term *lastterm = (fsyz->
next ==
nullptr ? fsyz : fsyz->
next);
1508
1509 res2_pair *q;
1510 ring_elem rg;
1511
1512 int count = 0;
1514
1515 while (f != nullptr)
1516 {
1518 M->to_expvector(REDUCE_mon, REDUCE_exp);
1520 {
1521
1522 Nterm *r = rg;
1524 R->ring_subtract_multiple_to(f, f->
coeff, REDUCE_mon, f->
comp, rg);
1526 count++;
1527 }
1529 {
1531 lastterm = lastterm->
next;
1535 count++;
1536 }
1537 else
1538 {
1539 res2term *tmp = f;
1541 tmp->
next =
nullptr;
1543 }
1544 }
1546 {
1547 buffer o;
1548 o << count;
1550 }
1551 return nullptr;
1552}
exponents::Exponents exponents_t
int find_ring_divisor(const int *exp, ring_elem &result) const
int find_divisor(const MonomialIdeal *mi, const int *exp, res2_pair *&result)
#define ALLOCATE_EXPONENTS(byte_len)
#define ALLOCATE_MONOMIAL(byte_len)
void emit_wrapped(const char *s)
References ALLOCATE_EXPONENTS, ALLOCATE_MONOMIAL, res2term::coeff, res2term::comp, emit_wrapped(), exp_size, find_divisor(), find_ring_divisor(), K, M, M2_gbTrace, res2_pair::mi, Nterm::monom, res2term::monom, monom_size, monomial, res2term::next, res2_pair::pivot_term, R, buffer::str(), res2_pair::syz, and total_reduce_count.
Referenced by handle_pair_by_level().