17 #ifndef BIG_POLYNOMIAL_GUARD
18 #define BIG_POLYNOMIAL_GUARD
43 const mpz_class&
getCoef(
size_t index)
const;
44 const vector<mpz_class>&
getTerm(
size_t index)
const;
52 void add(
const mpz_class& coef,
const vector<mpz_class> term);
53 void add(
const mpz_class& coef,
const Term& term,
58 void print(FILE* file)
const;
59 void print(ostream& out)
const;
68 typedef vector<BigCoefTerm>::iterator
iterator;
ostream & operator<<(ostream &out, const BigPolynomial &ideal)
mpz_class & getLastCoef()
const vector< mpz_class > & getTerm(size_t index) const
size_t getTermCount() const
vector< BigCoefTerm >::const_iterator const_iterator
vector< BigCoefTerm > _coefTerms
void add(const mpz_class &coef, const vector< mpz_class > term)
size_t getVarCount() const
void clearAndSetNames(const VarNames &names)
const mpz_class & getCoef(size_t index) const
void renameVars(const VarNames &names)
vector< BigCoefTerm >::iterator iterator
void print(FILE *file) const
vector< mpz_class > & getLastTerm()
const VarNames & getNames() const
bool operator==(const BigPolynomial &poly) const
void sortTermsReverseLex()
static bool compareCoefTermsReverseLex(const BigCoefTerm &a, const BigCoefTerm &b)
TermTranslator handles translation between terms whose exponents are infinite precision integers and ...
Term represents a product of variables which does not include a coefficient.
Defines the variables of a polynomial ring and facilities IO involving them.
bool operator==(const BigCoefTerm &coefTerm) const