java.lang.Object
omix.mathxp.util.ExpressionUtilities
public abstract class ExpressionUtilities extends Object
- Author:
- Dr. Peter Droste
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExpressionUtilities.Multiplier
static class
ExpressionUtilities.MultiplierList
static class
ExpressionUtilities.Summand
static class
ExpressionUtilities.SummandList
-
Method Summary
Modifier and Type Method Description static void
extractLinearFactors(MathExpression expression, Map<AbstractMathReference,Number> values, List<Error> errors)
static void
extractReferences(MathExpression expression, Map<String,ReferenceInterface> variables, List<Error> errors)
static MathExpression
normalize(MathExpression expression, List<Error> errors)
static void
setReferences(MathExpression expression, StringMap<ReferenceInterface> references)
static MathExpression
validityCheck(MathExpression expression, List<Error> errors, boolean checkForLinearity)
-
Method Details
-
setReferences
public static void setReferences(MathExpression expression, StringMap<ReferenceInterface> references) -
validityCheck
public static MathExpression validityCheck(MathExpression expression, List<Error> errors, boolean checkForLinearity) -
normalize
-
extractLinearFactors
public static void extractLinearFactors(MathExpression expression, Map<AbstractMathReference,Number> values, List<Error> errors) -
extractReferences
public static void extractReferences(MathExpression expression, Map<String,ReferenceInterface> variables, List<Error> errors)
-