jsci.maths.groups
Interface Monoid
-
- All Known Subinterfaces:
- Group
- All Known Implementing Classes:
- CyclicGroup, DihedralGroup, FiniteGroup, QuaternionGroup
public interface MonoidThis interface defines a monoid.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface and Description static interfaceMonoid.MemberThis interface defines a member of a monoid.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Monoid.Memberidentity()Returns the identity element.booleanisIdentity(Monoid.Member g)Returns true if the member is the identity element of this monoid.
-
-
-
Method Detail
-
identity
Monoid.Member identity()
Returns the identity element.
-
isIdentity
boolean isIdentity(Monoid.Member g)
Returns true if the member is the identity element of this monoid.- Parameters:
g- a monoid member
-
-
DMelt 3.0 © DataMelt by jWork.ORG