public class SymjaInterpreter extends EvalUtilities
fEvalEngine, fMathMLFactory| Constructor and Description |
|---|
SymjaInterpreter(java.lang.String codeString,
java.io.OutputStream out)
Create a new command interpreter attached to the passed in streams.
|
| Modifier and Type | Method and Description |
|---|---|
void |
eval(IAST function) |
void |
eval(java.lang.String function) |
java.lang.String |
interpreter(IAST function)
Parse the
codeString into an IExpr and if
function unequals null, replace all occurences
of symbol x in the function with the parsed expression. |
java.lang.String |
interpreter(java.lang.String function) |
eval, evalTrace, evalTrace, evaluate, evaluate, toJavaForm, toMathMLgetEvalEngine, startRequest, stopRequest, toJava, toMathMLpublic SymjaInterpreter(java.lang.String codeString,
java.io.OutputStream out)
public java.lang.String interpreter(java.lang.String function)
public java.lang.String interpreter(IAST function)
codeString into an IExpr and if
function unequals null, replace all occurences
of symbol x in the function with the parsed expression.
After that evaluate the given expression.function - public void eval(java.lang.String function)
public void eval(IAST function)