Definition at line 61 of file reducedgb-marked.cpp.
64{
65 (void) auto_reduced;
66
67
69
71
72
73
74
75 for (int i = 0; i < leadterms0.size(); i++)
76 {
78 ring_elem junk;
79
80 gbvector *f = polys0[i].f;
81 gbvector *inf = leadterms0[i];
82
83 h.
f =
R->gbvector_copy(f);
84 h.
fsyz =
R->gbvector_copy(polys0[i].fsyz);
85
86 gbvector *iinf = nullptr;
87 for (gbvector *t = h.
f; t !=
nullptr; t = t->
next)
89 {
90 iinf = t;
91 break;
92 }
93 if (!iinf)
94 {
95 ERROR(
"lead term does not appear in the polynomial!");
96 iinf = f;
97 }
99
101 R->gbvector_get_lead_exponents(
F, iinf, e);
102
103
104
105
106
107 R->gbvector_remove_content(h.
f, h.
fsyz);
108
109 T->insert(e, iinf->
comp, i);
110 polys.push_back(h);
111 }
112
114}
exponents::Exponents exponents_t
int compare(int nslots, const_monomial m, const_monomial n) const
const PolynomialRing * originalR
References auto_reduce(), gbvector::comp, Monoid::compare(), EQ, ERROR, ReducedGB::F, POLY::f, POLY::fsyz, leadterms, gbvector::monom, newarray, gbvector::next, ReducedGB::originalR, POLY, ReducedGB::R, and T.
Referenced by GBDeclared::GBDeclared().