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

This commit is contained in:
Arash Partow 2013-04-02 07:52:06 +11:00
parent 6b0b02a805
commit 3b6db5b323
1 changed files with 1 additions and 1 deletions

View File

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