public interface GroupI
Modifier and Type | Method and Description |
---|---|
Number |
add(Number a,
Number b)
Get sum of the numbers
|
void |
addStandardConstants(JEP j)
adds the standard constants for this group
|
void |
addStandardFunctions(JEP j)
adds the standard function for this group
|
boolean |
equals(Number a,
Number b)
whether two numbers are equal
|
Number |
getInverse(Number num)
Get Inverse of a number
|
NumberFactory |
getNumberFactory()
returns a number factory for creating group elements from strings.
|
Number |
getZERO()
Returns the identity element under +
|
boolean |
isConstantPoly(Number a)
For groups like rings of polynomials this determins if a given element is a constant polynomial.
|
Number |
sub(Number a,
Number b)
Get the difference of the numbers.
|
Number |
valueOf(String s)
returns number given by the string
|
Number getZERO()
NumberFactory getNumberFactory()
Group
do not need to
implement this method.void addStandardConstants(JEP j)
void addStandardFunctions(JEP j)
boolean isConstantPoly(Number a)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics