functionx 1.0.0
functionx: ^1.0.0 copied to clipboard
A powerful equation parser and solver for Dart. Parse expressions, extract variables, evaluate, solve equations, and perform symbolic calculus with a comprehensive physics constants library.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.0.0 - 2024-12-24 #
Added #
ExpressionParser- New clean API for parsing expressions and extracting variablesEvaluator- New class for expression evaluation with variable substitutionSolver- New equation solver with algebraic and numerical methodsCas- Computer Algebra System for differentiation and integrationExpressionGrammar- PetitParser grammar for explicit algebraic notation- Comprehensive documentation and examples
Changed #
- BREAKING: Complete API reorganization with cleaner, more intuitive classes
- Moved to explicit operator notation (e.g.,
2*xinstead of2x) - Improved error handling with descriptive error messages
Deprecated #
MathEquationParser- UseExpressionParser+EvaluatorinsteadAlgebraicEquationParser- UseSolverinsteadCasParser- UseCasinstead
Fixed #
- Single-letter variables no longer incorrectly match physics constants
- Better handling of mathematical constants (pi, e, infinity)