Skip to content

Commit

Permalink
fix example format
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianrun-Y committed Aug 7, 2024
1 parent 2b441e0 commit 7f989c0
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions doc/attr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1215,20 +1215,20 @@ gap> GeneratorsSmallest(T);
element has no inverse in <A>S</A>.
<A>x</A> in the semigroup <A>S</A>.
<Example><![CDATA[
S := FullTransformationMonoid(4);
<full transformation monoid of degree 4>
gap> s := Transformation([2, 3, 1, 1]);
Transformation( [ 2, 3, 1, 1 ] )
gap> OneInverseOfSemigroupElement(S, s);
Transformation( [ 3, 1, 2, 2 ] )
gap> e := IdentityTransformation;
IdentityTransformation
gap> OneInverseOfSemigroupElement(S, e);
IdentityTransformation
gap> F := FreeSemigroup(1);
<free semigroup on the generators [ s1 ]>
gap> OneInverseOfSemigroupElement(F, F.1);
Error, the semigroup is not finite]]></Example>
gap> S := FullTransformationMonoid(4);
<full transformation monoid of degree 4>
gap> s := Transformation([2, 3, 1, 1]);
Transformation( [ 2, 3, 1, 1 ] )
gap> OneInverseOfSemigroupElement(S, s);
Transformation( [ 3, 1, 2, 2 ] )
gap> e := IdentityTransformation;
IdentityTransformation
gap> OneInverseOfSemigroupElement(S, e);
IdentityTransformation
gap> F := FreeSemigroup(1);
<free semigroup on the generators [ s1 ]>
gap> OneInverseOfSemigroupElement(F, F.1);
Error, the semigroup is not finite]]></Example>
</Description>
</ManSection>
<#/GAPDoc>
Expand Down

0 comments on commit 7f989c0

Please sign in to comment.