public class ExtractEqn extends PostfixMathCommand implements CommandVisitorI
y := (x - 1)^2 expand(eqn(y))
Will return x*(x+1.0)*(x-1.0).
CommandVisitorI,
SubstitutionVisitor,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected EquationExtractor |
ee |
curNumberOfParameters, name, NaN, numberOfParameters| Constructor and Description |
|---|
ExtractEqn(XJep xjep) |
| Modifier and Type | Method and Description |
|---|---|
Node |
process(Node node,
Node[] children)
Performs the specified action on an expression tree.
|
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, checkNumberOfParameters, getName, getNumberOfParameters, run, setCurNumberOfParameters, setName, toString, toStringprotected EquationExtractor ee
public ExtractEqn(XJep xjep)
public Node process(Node node, Node[] children) throws ParseException
CommandVisitorIprocess in interface CommandVisitorInode - top node of the treechildren - the children of the node after they have been preprocessed.ParseExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep