JSci.maths.groups
Class CyclicGroup.Member

java.lang.Object
  extended byJSci.maths.groups.CyclicGroup.Member
All Implemented Interfaces:
AbelianGroup.Member, Group.Member, Member, Monoid.Member, Semigroup.Member, java.io.Serializable
Enclosing class:
CyclicGroup

class CyclicGroup.Member
extends java.lang.Object
implements AbelianGroup.Member, Group.Member


Constructor Summary
CyclicGroup.Member(int x)
           
 
Method Summary
 AbelianGroup.Member add(AbelianGroup.Member g)
          The group composition law.
 Semigroup.Member compose(Semigroup.Member g)
          The group composition law.
 boolean equals(java.lang.Object o)
          Returns true if this member is equal to another.
 Group.Member inverse()
          Returns the inverse member.
 AbelianGroup.Member negate()
          Returns the inverse member.
 AbelianGroup.Member subtract(AbelianGroup.Member g)
          The group composition law with inverse.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CyclicGroup.Member

public CyclicGroup.Member(int x)
Method Detail

equals

public boolean equals(java.lang.Object o)
Returns true if this member is equal to another.


add

public AbelianGroup.Member add(AbelianGroup.Member g)
The group composition law.

Specified by:
add in interface AbelianGroup.Member
Parameters:
g - a group member

negate

public AbelianGroup.Member negate()
Returns the inverse member.

Specified by:
negate in interface AbelianGroup.Member

subtract

public AbelianGroup.Member subtract(AbelianGroup.Member g)
The group composition law with inverse.

Specified by:
subtract in interface AbelianGroup.Member
Parameters:
g - a group member

compose

public Semigroup.Member compose(Semigroup.Member g)
The group composition law.

Specified by:
compose in interface Semigroup.Member
Parameters:
g - a group member

inverse

public Group.Member inverse()
Returns the inverse member.

Specified by:
inverse in interface Group.Member