Registry / utility / exprtk

exprtk

JSON →
library0.0.3vcpkgunverified

Simple to use, easy to integrate and extremely efficient run-time C++ mathematical expression parser and evaluation engine.

vcpkg install exprtk
INSTALL
IMPORT
SIG · EXPRTK
E
exprtk
utilitycppv0.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

exprtk.hpp
✓ #include <exprtk.hpp>

Parse and evaluate a mathematical expression

#include "exprtk.hpp" #include <iostream> #include <string> int main() { exprtk::expression<double> expression; exprtk::parser<double> parser; std::string expression_string = "3 + 4 * (2 - 1)"; if (parser.compile(expression_string, expression)) { double result = expression.value(); std::cout << "Result: " << result << std::endl; } return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.3latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

exprtk — pip install exprtk · libregistry