Overview
A Flutter/Dart package for parsing and evaluating mathematical expressions, supporting real numbers, vectors, and basic interval arithmetic. It enables dynamic computation of math formulas from strings, making it ideal for calculators, scientific apps, and data analysis tools. The library is lightweight, cross-platform, and integrates seamlessly into Flutter projects. It supports standard operators, functions, and custom variables, with clear error handling for invalid inputs. Ideal for developers needing flexible math expression evaluation without building a parser from scratch.
Use cases
- Scientific calculators
- Dynamic formula evaluation
- Data analysis in apps
- Educational math tools
- Physics simulations
Key features
- Supports real numbers and vectors
- Basic interval arithmetic
- Custom variable and function definitions
- Cross-platform compatibility
- Robust error handling
- String-based expression parsing
Suitable for
- Math-heavy applications
- Educational software
- Engineering and physics apps
- Calculator apps
- Data-driven UIs
Considerations
- Not optimized for high-performance numerical computing
- Limited to basic interval arithmetic
- Requires careful input validation to prevent injection-like issues
- No built-in support for complex numbers