You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Important change: MathNode is now a class of MathExpression interface.
Compared to MathNode, MathExpression may return null in calc() method.
New: getUsedVariables() method for MathExpression and MathNode.
This method goes down the math tree to find any uses of MathVariable
and returns names of all variables.
New: MathExpression object family - MathComparison:
MathComparisonEquation (=)
MathComparisonGreater (>)
MathComparisonLess (<)
Parsing
New: MathNodeExpression.fromStringExtended() method allows you to
interpret equations and comparisons. Compared to fromString,
it returns MathExpression instead of MathNode, since comparisons
can't guarantee result.
New: MathNodeExpression.getPotentialVariableNames() analyzes given
math expression string for possible use of variables. Refer to
documentation for rough edges before using it.
New: MathNodeExpression.builtInVariables gives a list of built-in
predefined variable names.
New: MathNodeExpression.isVariableNameValid() lets you check if
the parser can work with a given name.
Misc.
Changed input parameters type for CantProcessExpressionException.