Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Minor documentation edits
Browse files Browse the repository at this point in the history
  • Loading branch information
wencin-poh committed Sep 11, 2020
1 parent b4a9a3d commit 8cb5527
Showing 1 changed file with 4 additions and 9 deletions.
Expand Up @@ -385,6 +385,7 @@ def _repr_(self):
EXAMPLES::
sage: from sage.monoids.hecke_monoid import HeckeMonoid
sage: H = HeckeMonoid(SymmetricGroup(3+1))
sage: w = H.from_reduced_word([2,1,3,2])
sage: crystals.FullyCommutativeStableGrothendieck(w,3,1)
Expand Down Expand Up @@ -441,7 +442,7 @@ def e(self, i):
EXAMPLES::
from sage.monoids.hecke_monoid import HeckeMonoid
sage: from sage.monoids.hecke_monoid import HeckeMonoid
sage: H = HeckeMonoid(SymmetricGroup(4+1))
sage: w = H.from_reduced_word([2,1,4,3,2])
sage: B = crystals.FullyCommutativeStableGrothendieck(w,4,3)
Expand Down Expand Up @@ -476,7 +477,7 @@ def f(self, i):
EXAMPLES::
from sage.monoids.hecke_monoid import HeckeMonoid
sage: from sage.monoids.hecke_monoid import HeckeMonoid
sage: H = HeckeMonoid(SymmetricGroup(4+1))
sage: w = H.from_reduced_word([3,2,1,4,3])
sage: B = crystals.FullyCommutativeStableGrothendieck(w,4,3)
Expand Down Expand Up @@ -511,7 +512,7 @@ def bracketing(self,i):
EXAMPLES::
from sage.monoids.hecke_monoid import HeckeMonoid
sage: from sage.monoids.hecke_monoid import HeckeMonoid
sage: H = HeckeMonoid(SymmetricGroup(4+1))
sage: w = H.from_reduced_word([3,2,1,4,3])
sage: B = crystals.FullyCommutativeStableGrothendieck(w,3,2)
Expand Down Expand Up @@ -654,12 +655,6 @@ def _canonical_word(w, ex):
"""
Return a standard word equivalent to ``w`` in a 0-Hecke monoid whose
excess is ``ex``.
EXAMPLES::
sage: w = [1,2,1]
sage: v = _canonical_word(w,2); v
[1, 1, 1, 2, 1]
"""
L = list(w)
return [L[0]]*ex + L
Expand Down

0 comments on commit 8cb5527

Please sign in to comment.