public class PFunction extends AbstractPNode
pc
Constructor and Description |
---|
PFunction(PolynomialCreator pc,
java.lang.String name,
PostfixMathCommandI pfmc,
PNodeI[] args) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PFunction fun)
this < arg ---> -1
this > arg ---> 1
|
boolean |
equals(PNodeI node)
True is nodes represent the same parse trees
|
PNodeI |
expand()
complete expansion. (1+x)^2 --> 1+2*x+x^2
|
Node |
toNode()
Converts the node to standard JEP format.
|
java.lang.String |
toString()
Produces a string representation of the argument.
|
add, compareTo, div, invert, isOne, isZero, mul, negate, pow, sub
public PFunction(PolynomialCreator pc, java.lang.String name, PostfixMathCommandI pfmc, PNodeI[] args)
public boolean equals(PNodeI node)
PNodeI
equals
in interface PNodeI
equals
in class AbstractPNode
public int compareTo(PFunction fun)
public java.lang.String toString()
PNodeI
public Node toNode() throws ParseException
PNodeI
ParseException
public PNodeI expand() throws ParseException
PNodeI
ParseException
http://www.singularsys.com/jep Copyright © 2007 Singular Systems