C++ Mathematical Expression Library (ExprTk) http://www.partow.net/programming/exprtk/index.html

This commit is contained in:
Arash Partow
2016-09-26 10:50:06 +10:00
parent d63c4c274d
commit 5728bb1327
5 changed files with 27 additions and 26 deletions

View File

@ -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);