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, sub
public POperator(PolynomialCreator pc, XOperator op, PNodeI[] args)
public boolean equals(PNodeI node)
PNodeI
equals
in interface PNodeI
equals
in class AbstractPNode
public int compareTo(POperator 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