{C++ library that can be used to parse and evaluate a mathematical function from a string}

WWW: https://github.com/thliebig/fparser
