summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTara Fife <fi.tara@gmail.com>2016-06-02 18:48:32 -0500
committerTara Fife <fi.tara@gmail.com>2016-06-02 18:48:32 -0500
commit9a33e778ee9c0c8e79ebdf527b9061192b759c51 (patch)
tree0cf93d7b7c46449ab55ab1178765c28a1a8162b3
parentStarted working, saved so I can change branch (diff)
Eddited Documentation
-rw-r--r--src/sage/matroids/matroid.pyx12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/sage/matroids/matroid.pyx b/src/sage/matroids/matroid.pyx
index 3a0117c..84e5b5e 100644
--- a/src/sage/matroids/matroid.pyx
+++ b/src/sage/matroids/matroid.pyx
@@ -6126,16 +6126,18 @@ cdef class Matroid(SageObject):
"""
Check if the circuit ``C`` has a chord.
- INPUT:
+ INPUT:
- ``C`` -- a circuit
- - ``certificate`` -- (default: ``False``) boolean
+ - ``certificate`` -- (default: ``False``) boolean, if ``True``, finds an element
+ ``x`` and, disjoint except at ``x``, circuits ``Ax`` and ``Bx`` so that
+ ``Ax`` union ``Bx`` is the elements of ``C`` together with ``x``.
OUTPUT:
- boolean and if certificate is ``True``, also return a tuple
- ``(x, Ax, Bx)``, where ``x`` is a chord and ``Ax`` and ``Bx``
- are circuits whose union is ``C`` and ``x``, or ``None`` if
+ ``(x, Ax, Bx)``, where ``x`` is a chord of ``C`` with ``Ax`` and ``Bx``
+ circuits whose union is the elements of ``C`` together with ``x``, or ``None`` if
``C`` is not chordal
EXAMPLES::
@@ -6180,7 +6182,7 @@ cdef class Matroid(SageObject):
exists sets `A, B` such that `C = A \sqcup B` and `A + x` and
`B + x` are circuits.
- INPUT:
+ INPUT:
- ``C`` -- a circuit
- ``certificate`` -- (default: ``False``) boolean