All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JSci.maths.groups.DiscreteGroup

java.lang.Object
   |
   +----JSci.maths.DiscreteSet
           |
           +----JSci.maths.groups.DiscreteGroup

public abstract class DiscreteGroup
extends DiscreteSet
implements Group
The DiscreteGroup class provides an abstract encapsulation for discrete groups.


Constructor Index

 o DiscreteGroup(String)
Constructs a discrete 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.

Constructors

 o DiscreteGroup
 public DiscreteGroup(String label)
Constructs a discrete group.

Parameters:
label - a label that identifies this group

Methods

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

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

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