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:
@ -472,7 +472,7 @@ int main()
|
||||
typedef exprtk::parser<double> parser_t;
|
||||
typedef exprtk::parser_error::type error_t;
|
||||
|
||||
std::string expression_str = "z := 2 myfunc[4 + sin(x/pi)^3,y^2]";
|
||||
std::string expression_str = "z := 2 myfunc([4+sin(x/pi)^3],y^2)";
|
||||
|
||||
double x = 1.1;
|
||||
double y = 2.2;
|
||||
|
Reference in New Issue
Block a user