Definition at line 1126 of file res-a0.cpp.
1134{
1135
1138
1139 res2term *lastterm = (fsyz->
next ==
nullptr ? fsyz : fsyz->
next);
1140
1141 res2_pair *q;
1142 ring_elem rg;
1143
1144
1145 int count = 0;
1147
1148 while (f != nullptr)
1149 {
1151 M->to_expvector(REDUCE_mon, REDUCE_exp);
1153 {
1154
1155 Nterm *r = rg;
1157 R->ring_subtract_multiple_to(f, f->
coeff, REDUCE_mon, f->
comp, rg);
1159 count++;
1160 }
1161
1163 {
1164
1166 lastterm = lastterm->
next;
1167 pivot = lastterm;
1169 {
1171 {
1172 buffer o;
1173 o << count;
1175 }
1176 return q;
1177 }
1179 R->subtract_multiple_to(f, f->
coeff, REDUCE_mon, q->
syz);
1181 count++;
1182 }
1183 else
1184 {
1185 res2term *tmp = f;
1187 tmp->
next =
nullptr;
1189 }
1190 }
1192 {
1193 buffer o;
1194 o << count;
1196 }
1197 return nullptr;
1198}
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, R, buffer::str(), res2_pair::syz, SYZ2_MAYBE_MINIMAL, SYZ2_S_PAIR, res2_pair::syz_type, and total_reduce_count.
Referenced by handle_pair(), and handle_pair_by_level().