Macaulay2 Engine
Loading...
Searching...
No Matches

◆ store_in_table()

void ReducedGB_Field_Local::store_in_table ( const POLY & h,
exponents_t h_exp,
int h_comp,
int h_alpha )
protected

Definition at line 477 of file reducedgb-field-local.cpp.

481{
482 int id = INTSIZE(new_poly_elems);
483 divisor_info t;
484 t.g.f = R->gbvector_copy(h.f);
485 t.g.fsyz = R->gbvector_copy(h.fsyz);
486 t.alpha = h_alpha;
487 t.size = R->gbvector_n_terms(t.g.f);
488 new_poly_elems.push_back(t);
489 T1->insert(h_exp, h_comp, id); // grabs h_exp
490}
GBRing * R
Definition reducedgb.hpp:64
gbvector * fsyz
Definition gbring.hpp:99
gbvector * f
Definition gbring.hpp:98
Per-element bookkeeping record used by ReducedGB_Field_Local during local-ring GB minimisation.
#define INTSIZE(a)
Definition style.hpp:37

References ReducedGB_Field_Local::divisor_info::alpha, POLY::f, POLY::fsyz, ReducedGB_Field_Local::divisor_info::g, INTSIZE, POLY, ReducedGB::R, ReducedGB_Field_Local::divisor_info::size, and T1.

Referenced by remainder(), and remainder().