public class POperator extends AbstractPNode
pc| Constructor and Description |
|---|
POperator(PolynomialCreator pc,
XOperator op,
PNodeI[] args) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(POperator 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, subpublic POperator(PolynomialCreator pc, XOperator op, PNodeI[] args)
public boolean equals(PNodeI node)
PNodeIequals in interface PNodeIequals in class AbstractPNodepublic int compareTo(POperator fun)
public java.lang.String toString()
PNodeIpublic Node toNode() throws ParseException
PNodeIParseExceptionpublic PNodeI expand() throws ParseException
PNodeIParseExceptionhttp://www.singularsys.com/jep Copyright © 2007 Singular Systems