All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface JSci.maths.groups.Group

public interface Group
This interface defines a group.


Method Index

 o compose(Object, Object)
The group composition law.
 o identity()
Returns the identity element.
 o inverse(Object)
Returns the inverse element.
 o isIdentity(Object)
Returns true if the element is the identity element of this group.
 o isInverse(Object, Object)
Returns true if one element is the inverse of the other.

Methods

 o compose
 public abstract Object compose(Object a,
                                Object b)
The group composition law.

Parameters:
a - a group element
b - a group element
 o identity
 public abstract Object identity()
Returns the identity element.

 o inverse
 public abstract Object inverse(Object a)
Returns the inverse element.

 o isIdentity
 public abstract boolean isIdentity(Object a)
Returns true if the element is the identity element of this group.

Parameters:
a - a group element
 o 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