|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjsci.maths.groups.FiniteGroup
jsci.maths.groups.QuaternionGroup
public final class QuaternionGroup
The QuaternionGroup class represents the quaternion group.
Method Summary | |
---|---|
Group.Member[] |
getElements()
Returns the elements of this group. |
static QuaternionGroup |
getInstance()
Constructs the quaternion group. |
Monoid.Member |
identity()
Returns the identity element. |
boolean |
isIdentity(Monoid.Member a)
Returns true if the element is the identity element of this group. |
boolean |
isInverse(Group.Member a,
Group.Member b)
Returns true if one element is the inverse of the other. |
String |
toString()
|
Methods inherited from class jsci.maths.groups.FiniteGroup |
---|
order |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static final QuaternionGroup getInstance()
public String toString()
toString
in class Object
public Group.Member[] getElements()
getElements
in class FiniteGroup
public Monoid.Member identity()
public boolean isIdentity(Monoid.Member a)
a
- a group elementpublic boolean isInverse(Group.Member a, Group.Member b)
a
- a group elementb
- a group element
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |