Definition at line 2141 of file gb-default.cpp.
2142{
2143
2144
2145 ring_elem junk;
2146
2147
2148
2149
2150
2151
2152
2153
2154
2156 R->gbvector_remove_content(f.
f, f.
fsyz,
false, junk);
2157 else
2159
2160
2161
2162
2163
2164
2166
2167
2168
2169
2171
2176 forwardingZZ.push_back(-1);
2178 int x = g->g.
f->comp;
2179
2180
2181
2182
2183 if (
R->get_flattened_monoid()->in_subring(1, g->g.
f->monom))
n_subring++;
2184
2186 lookupZZ->insert(g->g.
f->coeff.get_mpz(), g->lead,
x, me);
2187 else
2188 lookup->insert(g->lead,
x, me);
2189
2191 {
2192 buffer o;
2193 o << " new ";
2196 }
2198 {
2199 const int N = 100;
2201 buffer o;
2202 snprintf(
s, N,
"new-inserting element %d (minimal %d): ", me, minlevel);
2204 R->gbvector_text_out(o,
_F, g->g.
f);
2207 o << " syzygy : ";
2208 R->gbvector_text_out(o,
_Fsyz, g->g.fsyz);
2210 }
2211
2213
2215 {
2218 }
2219 else
2220 {
2221#ifdef DEVELOPMENT
2222#warning "todo: codimension stop condition"
2223#endif
2224
2225 }
2226
2228 {
2229
2230
2231 }
2232}
gbelem * gbelem_make(gbvector *f, gbvector *fsyz, gbelem_type minlevel, int deg)
MonomialTableZZ * lookupZZ
void remainder(POLY &f, int degf, bool use_denom, ring_elem &denom)
void gbelem_text_out(buffer &o, int i, int nterms=3) const
void auto_reduce_by(int id)
void gb(IntermediateBasis &F, int n)
void emit_line(const char *s)
References _F, _Fsyz, auto_reduce_by(), gbvector::coeff, gbvector::comp, ELEM_MINGB, emit_line(), POLY::f, flush_pairs(), POLY::fsyz, gbA::gbelem::g, gb(), gbelem_make(), gbelem_text_out(), ring_elem::get_mpz(), hilb_n_in_degree, hilb_new_elems, INTSIZE, is_local_gb, gbA::gbelem::lead, lookup, lookupZZ, M2_gbTrace, minimal_gb_valid, gbvector::monom, n_gb, n_subring, over_ZZ(), POLY, R, remainder(), buffer::reset(), s, stats_ngb, buffer::str(), this_degree, use_hilb, and x.
Referenced by process_spair(), reduce_kk(), and reduce_ZZ().