public class PVariable extends AbstractPNode
pc
Constructor and Description |
---|
PVariable(PolynomialCreator pc,
XVariable var) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PVariable vf)
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 PVariable(PolynomialCreator pc, XVariable var)
public boolean equals(PNodeI node)
PNodeI
equals
in interface PNodeI
equals
in class AbstractPNode
public int compareTo(PVariable vf)
public java.lang.String toString()
PNodeI
public Node toNode() throws ParseException
PNodeI
ParseException
http://www.singularsys.com/jep Copyright © 2007 Singular Systems