in-memory tree representations of mathematical functions
GNU libmatheval is comprised of several procedures that make it possible to create in-memory tree representations of mathematical functions over single or multiple variables and later use them to evaluate function for specified variable values, to create a corresponding tree for function derivatives over a specified variable, or to print a textual representation of the in-memory tree to a specified string. The library supports arbitrary variable names in expressions, decimal constants, basic unary and binary operators, and elementary mathematical functions.
GNU libmatheval is comprised of several procedures that make it possible to create in-memory tree representations of mathematical functions over single or multiple variables and later use them to evaluate function for specified variable values, to create a corresponding tree for function derivatives over a specified variable, or to print a textual representation of the in-memory tree to a specified string. The library supports arbitrary variable names in expressions, decimal constants, basic unary and binary operators, and elementary mathematical functions.
To install libmatheval, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install libmatheval
To see what files were installed by libmatheval, run:
port contents libmatheval
To later upgrade libmatheval, run:
sudo port selfupdate && sudo port upgrade libmatheval
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.