Implements ReducedGB.
Definition at line 148 of file reducedgb-ZZ.cpp.
149{
150 gbvector *
zero =
nullptr;
151 gbvector head;
152 gbvector *frem = &head;
153 (void) use_denom;
154 (void) denom;
155 frem->
next =
nullptr;
158 gbvector *r;
160 while (!
R->gbvector_is_zero(h.
f))
161 {
162 int w;
163 R->gbvector_get_lead_exponents(
F, h.
f, EXP);
166 switch (typ)
167 {
169 r =
const_cast<gbvector *
>(
originalR->quotient_gbvector(w));
171 continue;
172 break;
174 g = polys[w];
175 if (
R->gbvector_reduce_lead_term_ZZ(
177 continue;
178 break;
180 break;
181 }
185 frem->
next =
nullptr;
186 }
191}
exponents::Exponents exponents_t
enum divisor_type find_divisor(exponents_t exp, int comp, int &result_loc)
const PolynomialRing * originalR
#define ALLOCATE_EXPONENTS(byte_len)
References ALLOCATE_EXPONENTS, gbvector::comp, DIVISOR_MODULE, DIVISOR_NONE, DIVISOR_RING, ReducedGB::F, POLY::f, find_divisor(), ReducedGB::Fsyz, POLY::fsyz, gbvector::next, ReducedGB::originalR, POLY, ReducedGB::R, x, and zero.
Referenced by minimalize().