10 template<
typename Pol>
13 if (vars.size() != 1 || constr.
lhs().degree(*vars.begin()) != 1)
return false;
20 template<
typename Pol>
24 const typename Pol::NumberType& coeff = constr.
lhs().lterm().coeff();
38 template<
typename Pol>
42 const typename Pol::NumberType& coeff = constr.
lhs().lterm().coeff();
carl is the main namespace for the library.
bool is_bound(const BasicConstraint< Pol > &constr)
bool is_upper_bound(const BasicConstraint< Pol > &constr)
bool is_lower_bound(const BasicConstraint< Pol > &constr)
void variables(const BasicConstraint< Pol > &c, carlVariables &vars)
Represent a polynomial (in)equality against zero.
Relation relation() const