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 FormModifier 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, toString
protected EquationExtractor ee
public ExtractEqn(XJep xjep)
public Node process(Node node, Node[] children) throws ParseException
CommandVisitorI
process
in interface CommandVisitorI
node
- top node of the treechildren
- the children of the node after they have been preprocessed.ParseException
Copyright © 2018 Singular Systems http://www.singularsys.com/jep