26 _idealsDeleter(_ideals) {
53 for (
size_t var = 0; var < varCount; ++var)
63 for (
size_t var = 0; var < varCount; ++var)
76 auto_ptr<BigIdeal> ideal(
_ideals.front());
void exceptionSafePushBack(Container &container, auto_ptr< Element > pointer)
mpz_class & getLastTermExponentRef(size_t var)
size_t getVarCount() const
virtual void consumeRing(const VarNames &names)
Tell the consumer which ring is being used.
const VarNames & getRing()
list< BigIdeal * > _ideals
auto_ptr< BigIdeal > releaseIdeal()
virtual void doneConsuming()
Must be called once after each time beginConsuming has been called.
virtual void beginConsuming()
Tell the consumer to begin consuming an ideal.
virtual void consume(const Term &term, const TermTranslator &translator)
TermTranslator handles translation between terms whose exponents are infinite precision integers and ...
const mpz_class & getExponent(size_t variable, Exponent exponent) const
This method translates from IDs to arbitrary precision integers.
size_t getVarCount() const
Term represents a product of variables which does not include a coefficient.
size_t getVarCount() const
Defines the variables of a polynomial ring and facilities IO involving them.