mirror of
https://github.com/ArashPartow/exprtk.git
synced 2025-06-12 16:27:23 +00:00
C++ Mathematical Expression Library (ExprTk) http://www.partow.net/programming/exprtk/index.html
This commit is contained in:
@ -43,7 +43,7 @@ void custom_function()
|
||||
typedef exprtk::expression<T> expression_t;
|
||||
typedef exprtk::parser<T> parser_t;
|
||||
|
||||
std::string expression_string = "myfunc(sin(x * pi),y / 2)";
|
||||
std::string expression_string = "myfunc(sin(x * pi), y / 2)";
|
||||
|
||||
T x = T(1);
|
||||
T y = T(2);
|
||||
|
Reference in New Issue
Block a user