9 #include "../../core/Variable.h"
10 #include <poly/poly.h>
11 #include <poly/variable_db.h>
12 #include <poly/polynomial_context.h>
16 class LPVariables :
public Singleton<LPVariables> {
17 friend Singleton<LPVariables>;
20 std::map<carl::Variable, lp_variable_t> vars_carl_libpoly;
22 std::map<lp_variable_t, carl::Variable> vars_libpoly_carl;
25 lp_variable_db_t* lp_var_db;
27 #define TEMP_VARIABLE_SIZE 10
29 lp_variable_t lp_var_tmp[TEMP_VARIABLE_SIZE];
33 std::optional<carl::Variable> carl_variable(lp_variable_t var)
const;
34 std::optional<lp_variable_t> lp_variable_opt(
carl::Variable var)
const;
carl is the main namespace for the library.
A Variable represents an algebraic variable that can be used throughout carl.