Function Parser for C++ 4.3
License: LGPL |
Category: Development
|
Publisher: Function-Parser-Team
|
Size: 146 KB
|
Last Updated: 2013-07-27 |
Operating System: Mac OS X |
Price: FREE
|
Download
|
Publisher's description - Function Parser for C++ 4.3
Function Parser for C++ is a free and open source C++ library offers a class which can be used to parse and evaluate a mathematical function from a string (which might be eg. requested from the user).
The syntax of the function string is similar to mathematical expressions written in C/C++ (the exact syntax is specified in the documentation below). The function can then be evaluated with different values of variables.
For example, a function like "sin(sqrt(x*x+y*y))" can be parsed from a string (either std::string or a C-style string) and then evaluated with different values of x and y. This library can be useful for evaluating user-inputted functions, or in some cases interpreting mathematical expressions in a scripting language.
Function Parser for C++ aims for maximum speed in both parsing and evaluation, while keeping maximum portability. Function Parser for C++ should compile and work with any standard-conforming C++ compiler.
What`s New in This Release: [ read full changelog ]
· Function syntax enhancement: Added possibility of defining new variables in the function string itself. (See documentation for details.)
· Fixed some bugs in the optimizer (among others, "atan2(-x,-y)" was being wrongly optimized into "atan2(x,y)"
|
|