26 vector<mpz_class> bigTerm;
28 for (
size_t var = 0; var < term.
getVarCount(); ++var)
29 bigTerm.push_back(term[var]);
36 for (
size_t index = 0; index < poly.
getTermCount(); ++index)
const vector< mpz_class > & getTerm(size_t index) const
size_t getTermCount() const
const mpz_class & getCoef(size_t index) const
const VarNames & getNames() const
virtual void beginConsuming()=0
virtual void consume(const mpz_class &coef, const Term &term)
virtual void doneConsuming()=0
virtual void consumeRing(const VarNames &names)=0
Term represents a product of variables which does not include a coefficient.
size_t getVarCount() const