23 template <
class Polynomial>
27 using Coeff =
typename Polynomial::CoeffType ;
85 assert(
mTail.nr_terms() != 0);
106 else if(
mTail.nr_terms() != 0)
131 void print(std::ostream& os = std::cout)
carl is the main namespace for the library.
std::ostream & operator<<(std::ostream &os, const BasicConstraint< Poly > &c)
Prints the given constraint on the given stream.
bool is_zero(const Interval< Number > &i)
Check if this interval is a point-interval containing 0.
An entry in the reduction polynomial.
friend std::ostream & operator<<(std::ostream &os, const ReductorEntry< C > rhs)
ReductorEntry(const Term< Coeff > &multiple, const Polynomial &pol)
Constructor with a factor and a polynomial.
bool addCoefficient(const Coeff &coeffToBeAdded)
const Polynomial & getTail() const
void removeLeadingTerm()
Calculate p - lt(p).
ReductorEntry(const Term< Coeff > &pol)
Constructor with implicit factor = 1.
typename Polynomial::CoeffType Coeff
const Term< Coeff > & getMultiple() const
void print(std::ostream &os=std::cout)
Output the current polynomial.
const Term< Coeff > & getLead() const
Coefficient & coeff()
Get the coefficient.
Monomial::Arg & monomial()
Get the monomial.