jsci.maths.groups
Class FiniteGroup
- java.lang.Object
-
- jsci.maths.groups.FiniteGroup
-
- 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
-
-
Constructor Summary
Constructors Constructor and Description FiniteGroup(int n)Constructs a finite group.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description abstract Group.Member[]getElements()Returns the elements of this group.intorder()Returns the order (the number of group elements) of this group.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jsci.maths.groups.Monoid
identity, isIdentity
-
-
-
-
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.
-
-
DMelt 3.0 © DataMelt by jWork.ORG