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

This commit is contained in:
Arash Partow
2015-04-20 22:37:52 +10:00
parent b04aa28e59
commit ef91ad59e9
3 changed files with 68 additions and 6 deletions

View File

@ -29,6 +29,7 @@ void trig_function()
typedef exprtk::parser<T> parser_t;
std::string expression_string = "clamp(-1.0,sin(2 * pi * x) + cos(x / 2 * pi),+1.0)";
T x;
symbol_table_t symbol_table;