| Constructor and Description |
|---|
AbstractPNode(PolynomialCreator pc) |
| Modifier and Type | Method and Description |
|---|---|
PNodeI |
add(PNodeI node)
Adds a node to this one.
|
int |
compareTo(PNodeI node)
this < arg ---> -1
this > arg ---> 1
|
PNodeI |
div(PNodeI node)
Divides this by the argument.
|
boolean |
equals(PNodeI node)
True is nodes represent the same parse trees
|
PNodeI |
invert()
inverts node i.e.
|
boolean |
isOne()
True if node represents one
|
boolean |
isZero()
True if node represents zero
|
PNodeI |
mul(PNodeI node)
Multiplies this by the argument.
|
PNodeI |
negate()
negates node i.e.
|
PNodeI |
pow(PNodeI node)
Raise this to the argument.
|
PNodeI |
sub(PNodeI node)
Subtracts the argument from this.
|
public AbstractPNode(PolynomialCreator pc)
public PNodeI add(PNodeI node) throws ParseException
PNodeIadd in interface PNodeIParseExceptionpublic PNodeI sub(PNodeI node) throws ParseException
PNodeIsub in interface PNodeIParseExceptionpublic PNodeI negate() throws ParseException
PNodeInegate in interface PNodeIParseExceptionpublic PNodeI mul(PNodeI node) throws ParseException
PNodeImul in interface PNodeIParseExceptionpublic PNodeI div(PNodeI node) throws ParseException
PNodeIdiv in interface PNodeIParseExceptionpublic PNodeI invert() throws ParseException
PNodeIinvert in interface PNodeIParseExceptionpublic PNodeI pow(PNodeI node) throws ParseException
PNodeIpow in interface PNodeIParseExceptionpublic boolean equals(PNodeI node)
PNodeIpublic boolean isZero()
PNodeIpublic boolean isOne()
PNodeIJas4pp 1.5 © Java Analysis Studio for Particle Physics