8 template<
typename Poly>
42 template<
typename Pol>
46 template<
typename Pol>
51 template<
typename Poly>
55 template<
typename Poly>
59 template<
typename Poly>
66 template<
typename Pol>
67 struct hash<
carl::VariableAssignment<Pol>> {
69 return std::hash<carl::VariableComparison<Pol>>()(va);
carl is the main namespace for the library.
bool operator<(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
std::ostream & operator<<(std::ostream &os, const BasicConstraint< Poly > &c)
Prints the given constraint on the given stream.
bool operator==(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
void variables(const BasicConstraint< Pol > &c, carlVariables &vars)
A Variable represents an algebraic variable that can be used throughout carl.
typename Base::Number Number
VariableAssignment(Variable v, const Number &value, bool negated=false)
const auto & base_value() const
VariableAssignment(Variable v, const RAN &value, bool negated=false)
VariableAssignment negation() const
friend void variables(const VariableAssignment< Pol > &f, carlVariables &vars)
const RAN & value() const
std::size_t operator()(const carl::VariableAssignment< Pol > &va) const
Represent a sum type/variant of an (in)equality between a variable on the left-hand side and multivar...
const std::variant< MR, RAN > & value() const
typename MultivariateRoot< Poly >::RAN RAN
typename UnderlyingNumberType< Poly >::type Number
MultivariateRoot< Poly > MR