    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.

##

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

##

DiscreteGroup

     public DiscreteGroup(String label)

  Constructs a discrete group.

  Parameters:
    label - a label that identifies this group

##

inverse

     public Object inverse(Object a)

  Returns the inverse element.

isIdentity

     public final boolean isIdentity(Object a)

  Returns true if the element is the identity element of this group.

  Parameters:
    a - a group element

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