151 const VECTOR(mpz_srcptr) & coeffs,
153 const VECTOR(
int) & comps,
154 VECTOR(
int) & result_positions,
155 bool use_stable_sort =
true);
158 const VECTOR(mpz_srcptr) & coeffs,
160 const VECTOR(
int) & comps,
161 VECTOR(
int) & result_positions);
169 void show(FILE *fil)
const;
exponents::Exponents exponents_t
Dense exponent-vector template [e_0, ..., e_{nvars-1}] for monomial operations.
Append-only GC-backed byte buffer used throughout the engine for text output.
bool is_strong_member(mpz_srcptr c, exponents_t exp, int comp) const
mon_term * find_exact_monomial(exponents_t exp, int comp, int first_val) const
static mon_term * make_list_head()
void insert(mpz_srcptr coeff, exponents_t exp, int comp, int id)
static MonomialTableZZ * make(int nvars)
void show_mon_term(FILE *fil, mon_term *t) const
void change_coefficient(mon_term *t, mpz_srcptr new_coeff, int new_id)
bool is_weak_member(mpz_srcptr c, exponents_t exp, int comp) const
static void find_strong_generators(int nvars, const VECTOR(mpz_srcptr) &coeffs, const VECTOR(exponents_t) &exps, const VECTOR(int) &comps, VECTOR(int) &result_positions)
void show(FILE *fil) const
int find_smallest_coeff_divisor(exponents_t exp, int comp) const
int find_monomial_divisors(int max, exponents_t exp, int comp, VECTOR(mon_term *) *result=nullptr) const
static void find_weak_generators(int nvars, const VECTOR(mpz_srcptr) &coeffs, const VECTOR(exponents_t) &exps, const VECTOR(int) &comps, VECTOR(int) &result_positions, bool use_stable_sort=true)
mon_term * find_exact(mpz_srcptr coeff, exponents_t exp, int comp) const
void show_weak(FILE *fil, mpz_srcptr coeff, exponents_t exp, int comp, int val) const
int find_term_divisors(int max, mpz_srcptr coeff, exponents_t exp, int comp, VECTOR(mon_term *) *result=nullptr) const
MonomialTable analogue for monomials carrying a ZZ coefficient.
VALGRIND_MAKE_MEM_DEFINED & result(result)
our_new_delete — per-class opt-in routing of new / delete through bdwgc.
MonomialTable::mon_term plus an _coeff slot pointing at the entry's leading ZZ coefficient (or nullpt...
Engine-wide stylistic constants: LT / EQ / GT codes, INTSIZE, GEOHEAP_SIZE.