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
PNodeI
add
in interface PNodeI
ParseException
public PNodeI sub(PNodeI node) throws ParseException
PNodeI
sub
in interface PNodeI
ParseException
public PNodeI negate() throws ParseException
PNodeI
negate
in interface PNodeI
ParseException
public PNodeI mul(PNodeI node) throws ParseException
PNodeI
mul
in interface PNodeI
ParseException
public PNodeI div(PNodeI node) throws ParseException
PNodeI
div
in interface PNodeI
ParseException
public PNodeI invert() throws ParseException
PNodeI
invert
in interface PNodeI
ParseException
public PNodeI pow(PNodeI node) throws ParseException
PNodeI
pow
in interface PNodeI
ParseException
public boolean equals(PNodeI node)
PNodeI
public boolean isZero()
PNodeI
public boolean isOne()
PNodeI
Jas4pp 1.5 © Java Analysis Studio for Particle Physics