All Packages Class Hierarchy This Package Previous Next Index
Interface JSci.maths.groups.Group
- public interface Group
This interface defines a group.
-
compose(Object, Object)
- The group composition law.
-
identity()
- Returns the identity element.
-
inverse(Object)
- Returns the inverse element.
-
isIdentity(Object)
- Returns true if the element is the identity element of this group.
-
isInverse(Object, Object)
- Returns true if one element is the inverse of the other.
compose
public abstract Object compose(Object a,
Object b)
- The group composition law.
- Parameters:
- a - a group element
- b - a group element
identity
public abstract Object identity()
- Returns the identity element.
inverse
public abstract Object inverse(Object a)
- Returns the inverse element.
isIdentity
public abstract boolean isIdentity(Object a)
- Returns true if the element is the identity element of this group.
- Parameters:
- a - a group element
isInverse
public abstract boolean isInverse(Object a,
Object b)
- Returns true if one element is the inverse of the other.
- Parameters:
- a - a group element
- b - a group element
All Packages Class Hierarchy This Package Previous Next Index