public class Coeffs extends PostfixMathCommand implements CommandVisitorI
curNumberOfParameters, name, NaN, numberOfParameters
Modifier and Type | Method and Description |
---|---|
boolean |
checkNumberOfParameters(int n)
Checks the number of parameters of the function.
|
Node |
process(Node node,
Node[] children)
Performs the specified action on an expression tree.
|
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, getName, getNumberOfParameters, run, setCurNumberOfParameters, setName, toString, toString
public Coeffs(XJep xjep)
public boolean checkNumberOfParameters(int n)
PostfixMathCommand
checkNumberOfParameters
in interface PostfixMathCommandI
checkNumberOfParameters
in class PostfixMathCommand
n
- number of parameters function will be called with.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