Function Parser for C++

C++ library to parse and evaluate a mathematical function from a string
Download

Function Parser for C++ Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Price:
  • FREE
  • Publisher Name:
  • Function Parser Team
  • Publisher web site:
  • http://warp.povusers.org
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 165 KB

Function Parser for C++ Tags


Function Parser for C++ Description

C++ library to parse and evaluate a mathematical function from a string 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: Fixed bugs and deficiencies in the MpfrFloat class: · All existing values became NaN if the MpfrFloat::setDefaultMantissaBits() was called. · MpfrFloat::const_e() was incorrectly calculated. · The value of MpfrFloat::someEpsilon() is more sensible now (more proportional to the precision of the mantissa).


Function Parser for C++ Related Software