Class MathMLExpression
java.lang.Object
org.episteme.core.mathematics.loaders.mathml.MathMLExpression
Modernized MathMLExpression class for Episteme 6.0.
Encapsulates math expressions described by the <apply> tag.
- Version:
- 1.1
- Author:
- Mark Hale, Silvere Martin-Michiellot (Modernization)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArgument(Object obj) evaluate()getArgument(int n) intlength()voidsetOperation(String op) substitute(String var, Object value) substitute(Map<String, Object> vars)
-
Constructor Details
-
MathMLExpression
public MathMLExpression()
-
-
Method Details
-
setOperation
-
getOperation
-
addArgument
-
getArgument
-
length
public int length() -
substitute
-
substitute
-
evaluate
-