Template Class expression_t

Class Documentation

template<typename T, bool is_complex>
class expression_t

Wrapper around exprtk facilities. Instantiations are done in different cpp files to reduce compile times.

Public Functions

inline expression_t(const std::vector<std::string> &variables) noexcept
inline void set_variable_value(std::size_t idx, const T &value) noexcept
inline auto get_variables_count() const noexcept
inline const auto &get_expression() const noexcept
inline compile_ret_t compile(std::string expression_string)
inline T evaluate() const