15 template<
typename Rational,
typename Poly>
24 template<
typename Rational,
typename Poly>
31 assert(!indeterminate(eval_res));
carl is the main namespace for the library.
bool evaluate(const BasicConstraint< Poly > &c, const Assignment< Number > &m)
Coeff substitute(const Monomial &m, const std::map< Variable, Coeff > &substitutions)
Applies the given substitutions to a monomial.
void evaluate_inplace(ModelValue< Rational, Poly > &res, BVTerm &bvt, const Model< Rational, Poly > &m)
Evaluates a bitvector term to a ModelValue over a Model.
void variables(const BasicConstraint< Pol > &c, carlVariables &vars)
void substitute_inplace(MultivariateRoot< Poly > &mr, Variable var, const Poly &poly)
Create a copy of the underlying polynomial with the given variable replaced by the given polynomial.
Assignment< typename Poly::RootType > collectRANIR(const std::set< Variable > &vars, const Model< Rational, Poly > &model)
Represent a polynomial (in)equality against zero.
const BasicConstraint< Pol > & constr() const
Returns the associated BasicConstraint.
Relation relation() const
Represent a collection of assignments/mappings from variables to values.
Represent a sum type/variant over the different kinds of values that can be assigned to the different...