6 #ifndef MATH_EVALUATOR_H
7 #define MATH_EVALUATOR_H
11 #include "GmshConfig.h"
14 #if defined(HAVE_MATHEX)
20 std::vector<smlib::mathex *> _expressions;
21 std::vector<double> _variables;
28 const std::vector<std::string> &variables);
32 bool eval(
const std::vector<double> &values, std::vector<double> &res);
40 const std::vector<std::string> &variables)
42 Msg::Error(
"Gmsh must be compiled with MathEx support to evaluate math "
47 bool eval(
const std::vector<double> &values, std::vector<double> &res)