8 std::vector<carl::Variable>
m_vars;
23 carl::carlVariables vs;
24 for (
const auto& f : fs) carl::variables(f, vs);
28 std::size_t
index(carl::Variable v)
const {
30 assert(it !=
m_vars.end());
31 return std::distance(
m_vars.begin(), it);
33 carl::Variable
var(std::size_t i)
const {
static bool find(V &ts, const T &t)
carl::Formulas< Poly > FormulasT
VariableIndex(const std::vector< carl::Variable > &vs)
std::vector< carl::Variable > m_vars
std::size_t index(carl::Variable v) const
std::size_t add_variable(const carl::Variable v)
carl::Variable var(std::size_t i) const
void gather_variables(const FormulasT &fs)