public class MatrixJep extends DJep
| Constructor and Description |
|---|
MatrixJep() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStandardFunctions()
Adds the standard functions to the parser.
|
Object |
evaluate(Node node)
Evaluate a node.
|
Object |
evaluateRaw(Node node)
Evaluate a node.
|
Object |
getValueAsObject()
Evaluates and returns the value of the expression as an object.
|
Node |
preprocess(Node node)
Pre-processes an equation to allow the diff and eval operators to be used.
|
addDiffRule, addStandardDiffRules, differentiate, getDifferentationVisitor, newInstance, newInstanceaddComplex, addStandardConstants, calcVarValue, continueParsing, deepCopy, evaluate, getNodeFactory, getPrintVisitor, getTreeUtils, getVarsInEquation, print, print, println, println, recursiveGetVarsInEquation, restartParser, restartParser, simplify, substitute, substitute, toStringaddConstant, addFunction, addVariable, addVariable, addVariable, getAllowAssignment, getAllowUndeclared, getComplexValue, getErrorInfo, getEvaluatorVisitor, getFunctionTable, getImplicitMul, getNumberFactory, getOperatorSet, getParser, getSymbolTable, getTopNode, getTraverse, getValue, getVar, getVarValue, hasError, initFunTab, initSymTab, parse, parseExpression, removeFunction, removeVariable, setAllowAssignment, setAllowUndeclared, setImplicitMul, setTraverse, setVarValuepublic void addStandardFunctions()
JEPaddStandardFunctions in class XJeppublic Object evaluate(Node node) throws ParseException
evaluate in class JEPnode - the top node of the tree representing the expression.ParseException - if for some reason the expression could not be evaluatedpublic Object evaluateRaw(Node node) throws ParseException
ParseExceptionpublic Node preprocess(Node node) throws ParseException
preprocess in class XJepParseExceptionpublic Object getValueAsObject()
JEPgetValueAsObject in class JEPJas4pp 1.5 © Java Analysis Studio for Particle Physics