public class Compare extends PostfixMathCommand implements CommandVisitorI
compare(x,y) command. Compares the two expressions and
returns -1, 0 or 1.curNumberOfParameters, name, NaN, numberOfParameters| Constructor and Description |
|---|
Compare(PolynomialCreator pc,
boolean expand) |
Compare(XJep jep,
boolean expand) |
| Modifier and Type | Method and Description |
|---|---|
Node |
process(Node node,
Node[] children)
Pre-process command performs comparison the two children of the node.
|
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, checkNumberOfParameters, getName, getNumberOfParameters, run, setCurNumberOfParameters, setName, toString, toStringpublic Compare(PolynomialCreator pc, boolean expand)
public Compare(XJep jep, boolean expand)
public Node process(Node node, Node[] children) throws ParseException
process in interface CommandVisitorInode - top node of the treechildren - the children of the node after they have been preprocessed.ParseExceptionCommandVisitorICopyright © 2018 Singular Systems http://www.singularsys.com/jep