![[MONOiD]](monoid.png)
RClass( M, s )
RClass returns the R class of the element s in the monoid M.
gap> M:= Monoid( Transformation( [ 2, 1, 2 ] ),
> Transformation( [ 1, 2, 2 ] ) );;
gap> M.name:= "M";;
gap> RClass( M, Transformation( [ 1, 2, 2 ] ) );
RClass( M, Transformation( [ 1, 2, 2 ] ) )
The R class of s in M is the set of all elements of M which generate the same right ideal in M, i.e., the set of all m in M with <s> <M> = m <M>.
Version 2.4 (May 1998)