7 #ifndef expression_parser_h
8 #define expression_parser_h
13 #include <eigen3/Eigen/Dense>
39 void set_expressions(
const std::string ¶meters,
const std::string &expr_x,
40 const std::string &expr_y,
const std::string &expr_z);
55 Eigen::Vector3d
get_vector(
const Eigen::Ref<Eigen::Vector3d> arg)
const;
Definition: expression_parser.h:20
void set_expressions(const std::string ¶meters, const std::string &expr_x, const std::string &expr_y, const std::string &expr_z)
Definition: expression_parser.cpp:60
Eigen::Vector3d compute_vector(int argument_count) const
Definition: expression_parser.cpp:92
double get_vector_component(int idx) const
Definition: expression_parser.cpp:78
double get_scalar(double arg) const
Definition: expression_parser.cpp:67
Eigen::Vector3d get_vector(double arg) const
Definition: expression_parser.cpp:103
duk_context * ctx
Definition: expression_parser.h:78
void die_if_error(duk_int_t err) const
Definition: expression_parser.cpp:40
void set_function(const std::string &js_function) const
Definition: expression_parser.cpp:48