org.matheclipse.core.eval
Class SymjaInterpreter
- java.lang.Object
-
- org.matheclipse.core.eval.MathMLUtilities
-
- org.matheclipse.core.eval.EvalUtilities
-
- org.matheclipse.core.eval.SymjaInterpreter
-
public class SymjaInterpreter extends EvalUtilities
Evaluate a Symja expression
-
-
Constructor Summary
Constructors Constructor and Description SymjaInterpreter(java.lang.String codeString, java.io.OutputStream out)Create a new command interpreter attached to the passed in streams.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voideval(IAST function)voideval(java.lang.String function)java.lang.Stringinterpreter(IAST function)Parse thecodeStringinto anIExprand iffunctionunequalsnull, replace all occurences of symbolxin the function with the parsed expression.java.lang.Stringinterpreter(java.lang.String function)-
Methods inherited from class org.matheclipse.core.eval.EvalUtilities
eval, evalTrace, evalTrace, evaluate, evaluate, toJavaForm, toMathML
-
Methods inherited from class org.matheclipse.core.eval.MathMLUtilities
startRequest, stopRequest, toJava, toMathML
-
-
-
-
Constructor Detail
-
SymjaInterpreter
public SymjaInterpreter(java.lang.String codeString, java.io.OutputStream out)Create a new command interpreter attached to the passed in streams.
-
-
Method Detail
-
interpreter
public java.lang.String interpreter(java.lang.String function)
-
interpreter
public java.lang.String interpreter(IAST function)
Parse thecodeStringinto anIExprand iffunctionunequalsnull, replace all occurences of symbolxin the function with the parsed expression. After that evaluate the given expression.- Parameters:
function-- Returns:
-
eval
public void eval(java.lang.String function)
-
eval
public void eval(IAST function)
-
-
DMelt 3.0 © DataMelt by jWork.ORG