JSci.maths.groups
Class FiniteGroup

java.lang.Object
  extended by JSci.maths.groups.FiniteGroup
All Implemented Interfaces:
Group, Monoid
Direct Known Subclasses:
CyclicGroup, DihedralGroup, QuaternionGroup

public abstract class FiniteGroup
extends java.lang.Object
implements Group

Superclass for finite groups.


Nested Class Summary
 
Nested classes/interfaces inherited from interface JSci.maths.groups.Group
Group.Member
 
Field Summary
protected  int order
           
 
Constructor Summary
FiniteGroup(int n)
          Constructs a finite group.
 
Method Summary
abstract  Group.Member[] getElements()
          Returns the elements of this group.
 int order()
          Returns the order (the number of group elements) of this group.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface JSci.maths.groups.Group
isInverse
 
Methods inherited from interface JSci.maths.groups.Monoid
identity, isIdentity
 

Field Detail

order

protected final int order
Constructor Detail

FiniteGroup

public FiniteGroup(int n)
Constructs a finite group.

Parameters:
n - the order of the group
Method Detail

getElements

public abstract Group.Member[] getElements()
Returns the elements of this group.


order

public final int order()
Returns the order (the number of group elements) of this group.

PlanetMath references:
OrderGroup