summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarij Grinberg <darijgrinberg@gmail.com>2016-05-11 05:29:27 +0200
committerDarij Grinberg <darijgrinberg@gmail.com>2016-05-11 05:29:27 +0200
commit4031e326dcdf7a40072483267f45362bf2f88709 (patch)
tree99ac953bb40afb9e41279940ed6646b508b5fe05
parentfix sign error in is_max_weight_coindependent_generic (diff)
more doc fixes
-rw-r--r--src/sage/combinat/ncsf_qsym/qsym.py2
-rw-r--r--src/sage/matroids/matroid.pyx13
2 files changed, 8 insertions, 7 deletions
diff --git a/src/sage/combinat/ncsf_qsym/qsym.py b/src/sage/combinat/ncsf_qsym/qsym.py
index f6ec21d..0d1e47b 100644
--- a/src/sage/combinat/ncsf_qsym/qsym.py
+++ b/src/sage/combinat/ncsf_qsym/qsym.py
@@ -13,7 +13,7 @@ REFERENCES:
.. [GriRei2014] Darij Grinberg, Victor Reiner,
*Hopf algebras in combinatorics*,
- 30 September 2014. :arxiv:`1409.8356v3`.
+ 25 August 2015. :arxiv:`1409.8356v3`.
.. [Mal1993] Claudia Malvenuto, *Produits et coproduits des fonctions
quasi-symetriques et de l'algebre des descentes*,
diff --git a/src/sage/matroids/matroid.pyx b/src/sage/matroids/matroid.pyx
index 8f30014..48a5b6f 100644
--- a/src/sage/matroids/matroid.pyx
+++ b/src/sage/matroids/matroid.pyx
@@ -1449,7 +1449,7 @@ cdef class Matroid(SageObject):
cpdef closure(self, X):
"""
- Return the closure of a set.
+ Return the closure of a set ``X``.
A set is *closed* if adding any extra element to it will increase the
rank of the set. The *closure* of a set is the smallest closed set
@@ -1482,9 +1482,10 @@ cdef class Matroid(SageObject):
r"""
Return the ``k``-closure of ``X``.
- A set `S` is `k`-*closed* if the closure of any `k` element subsets
- is contained in `S`. The `k`-*closure* of a set `X` is the smallest
- `k`-closed set containing `X`.
+ A subset `S` of the groundset is `k`-*closed* if the closure of
+ any subset `T` of `S` satisfying `|T| \leq k` is contained in `S`.
+ The `k`-*closure* of a set `X` is the smallest `k`-closed set
+ containing `X`.
INPUT:
@@ -1852,7 +1853,7 @@ cdef class Matroid(SageObject):
cpdef is_independent(self, X):
r"""
- Check if a subset is independent in the matroid.
+ Check if a subset ``X`` is independent in the matroid.
INPUT:
@@ -1880,7 +1881,7 @@ cdef class Matroid(SageObject):
cpdef is_dependent(self, X):
r"""
- Check if a subset is dependent in the matroid.
+ Check if a subset ``X`` is dependent in the matroid.
INPUT: