summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Chapoton <chapoton@math.univ-lyon1.fr>2018-03-01 12:09:50 +0100
committerFrédéric Chapoton <chapoton@math.univ-lyon1.fr>2018-03-01 12:09:50 +0100
commitf8ec03442ac0c99f13dc0b99b11d4ffab6f60730 (patch)
tree76bf89d2ab2b834da54838b7290acee86ea3c2cf
parentanother code detail in interval-posets (diff)
trac 24873 some details of doc
-rw-r--r--src/sage/combinat/interval_posets.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/sage/combinat/interval_posets.py b/src/sage/combinat/interval_posets.py
index abe04f5..a32d4b4 100644
--- a/src/sage/combinat/interval_posets.py
+++ b/src/sage/combinat/interval_posets.py
@@ -2299,7 +2299,7 @@ class TamariIntervalPoset(Element):
a triple (``left``, ``right``, ``r``) where ``left`` and
``right`` are interval-posets and ``r`` (an integer) is the
- parameter of the composition.
+ parameter of the decomposition.
EXAMPLES::
@@ -2308,7 +2308,6 @@ class TamariIntervalPoset(Element):
(The Tamari interval of size 3 induced by relations [(1, 2), (3, 2)],
The Tamari interval of size 4 induced by relations [(2, 3), (4, 3)],
2)
-
"""
n = self.size()
if n == 0:
@@ -2418,7 +2417,7 @@ class TamariIntervalPoset(Element):
This condition is invariant under complementation.
- .. SEEALSO:: :meth:`is_new`
+ .. SEEALSO:: :meth:`is_new`, :meth:`is_infinitely_modern`
EXAMPLES::
@@ -2438,10 +2437,12 @@ class TamariIntervalPoset(Element):
Return whether ``self`` is an infinitely-modern Tamari interval.
This is defined by the exclusion of the configuration
- ``i --> i + 1`` and ``j + 1 --> j`` with `i < j`.
+ `i \rightarrow i + 1` and `j + 1 \rightarrow j` with `i < j`.
This condition is invariant under complementation.
+ .. SEEALSO:: :meth:`is_new`, :meth:`is_modern`
+
EXAMPLES::
sage: len([T for T in TamariIntervalPosets(3)
@@ -2967,7 +2968,7 @@ class TamariIntervalPosets(UniqueRepresentation, Parent):
- ``left`` -- an interval-poset
- ``right`` -- an interval-poset
- - ``r`` -- the parameter of the recomposition, an integer
+ - ``r`` -- the parameter of the decomposition, an integer
OUTPUT: an interval-poset
@@ -2991,7 +2992,7 @@ class TamariIntervalPosets(UniqueRepresentation, Parent):
@staticmethod
def from_grafting_tree(tree):
"""
- Return a Tamari interval from a grafting tree.
+ Return an interval-poset from a grafting tree.
For the inverse method,
see :meth:`TamariIntervalPoset.grafting_tree`.