Package mgui.interfaces.math
Class MathExpressionOptions
java.lang.Object
mgui.interfaces.InterfaceOptions
mgui.interfaces.math.MathExpressionOptions
- All Implemented Interfaces:
InterfaceObject
,NamedObject
,TreeObject
,CleanableObject
public class MathExpressionOptions extends InterfaceOptions
Options for a math expression evaluation.
The parser used is JEP v2.4.1,
issued under the GNU Public License. JEP has since switch to a commercial license.
This class is passable to the MathExpression class, which will evaluate it and return a
result list of doubles, with the dimensions variable.getDimensions
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Field Summary
Fields Modifier and Type Field Description org.cheffo.jeplite.JEP
jep
java.util.ArrayList<java.lang.String>
used_variables
VariableObject
variable
-
Constructor Summary
Constructors Constructor Description MathExpressionOptions(VariableObject object)
-
Method Summary
Methods inherited from class mgui.interfaces.InterfaceOptions
clean, destroy, getName, getTreeLabel, isDestroyed, issueTreeNode, setName, setTreeNode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
variable
-
jep
public org.cheffo.jeplite.JEP jep -
used_variables
public java.util.ArrayList<java.lang.String> used_variables
-
-
Constructor Details
-
MathExpressionOptions
-