bcParserCPP 2.8
Math Parser for C++
Math Parser for C++

bcParserCPP is a formula parser class for C++. It makes it possible for your application to parse and evaluate a mathematical expression string at runtime.

The Math Parser for C++ product comes as a CMathParser C++ Template Class which you can easily include into your C++ projects and parse mathematical expressions with no effort.

MathParser.h is delivered as standard C++ source code ready to include in any C++ project with 1 line. MathParser.h can be used with Visual C++ (Any version), GNU C++ Compiler (3.x and above) and possibly others.

Math Parser for C++ library features include:

Easy to use, simple C++ API.
Comes with predefined functions.
You can create custom functions/variables and get a callback to your functions that you define in your source code.
VariableCallback to provide values for undefined variables.
Optimization: Constant expression elimination for repeated tasks.
Operators: +, -, /, *, ^
Logical Operators: <, >, =, <>, >=, <=, &, |, ! [IF(condition,case1,case2) is supported]
Paranthesis: (, {, [
Functions in the form of: f(x1, x2, ..., xN)
Common math.h functions predefined.
Pluggable numeric and character types via C++ Template mechanism.
Royalty free distribution for your binaries.
Portable (Windows, Linux, Mac OSX) C++ Source code is included.
bcParserCPP, Math Parser for C++, is especially useful in scientific, engineering programs as well as financial spread sheet implementations.

http://www.bestcode.com/html/math_parser_for_cpp.html

 All Classes Functions Variables Typedefs Enumerations