@@ -531,7 +531,7 @@ cdef class Matroid(SageObject):
531
531
- ``X`` -- An object with Python's ``frozenset`` interface containing
532
532
a subset of ``self.groundset()``.
533
533
534
- OUTPUT: ``frozenset`` instance containing a subset of the groundset
534
+ OUTPUT: a subset of the groundset as a :class:`frozenset`
535
535
536
536
EXAMPLES::
537
537
@@ -620,7 +620,7 @@ cdef class Matroid(SageObject):
620
620
- ``X`` -- An object with Python's ``frozenset`` interface containing
621
621
a subset of ``self.groundset()``.
622
622
623
- OUTPUT: ``frozenset`` instance containing a subset of the groundset
623
+ OUTPUT: a subset of the groundset as a :class:`frozenset`
624
624
625
625
EXAMPLES::
626
626
@@ -665,7 +665,7 @@ cdef class Matroid(SageObject):
665
665
- ``X`` -- An object with Python's ``frozenset`` interface containing
666
666
a subset of ``self.groundset()``.
667
667
668
- OUTPUT: ``frozenset`` instance containing a subset of the groundset
668
+ OUTPUT: a subset of the groundset as a :class:`frozenset`
669
669
670
670
EXAMPLES::
671
671
@@ -754,7 +754,7 @@ cdef class Matroid(SageObject):
754
754
- ``X`` -- An object with Python's ``frozenset`` interface containing
755
755
a subset of ``self.groundset()``.
756
756
757
- OUTPUT: ``frozenset`` instance containing a subset of the groundset
757
+ OUTPUT: a subset of the groundset as a :class:`frozenset`
758
758
759
759
EXAMPLES::
760
760
@@ -785,7 +785,7 @@ cdef class Matroid(SageObject):
785
785
- ``Y`` -- An object with Python's ``frozenset`` interface containing
786
786
a subset of ``self. groundset( ) ``, and disjoint from ``X``.
787
787
788
- OUTPUT: ``frozenset`` instance containing a subset of the groundset
788
+ OUTPUT: a subset of the groundset as a :class:`frozenset`
789
789
790
790
EXAMPLES::
791
791
@@ -2274,7 +2274,7 @@ cdef class Matroid(SageObject):
2274
2274
"""
2275
2275
Return the circuits of the matroid.
2276
2276
2277
- OUTPUT: a SetSystem
2277
+ OUTPUT: a :class:` SetSystem`
2278
2278
2279
2279
.. SEEALSO::
2280
2280
@@ -2336,7 +2336,7 @@ cdef class Matroid(SageObject):
2336
2336
A *nonspanning circuit* is a circuit whose rank is strictly smaller
2337
2337
than the rank of the matroid.
2338
2338
2339
- OUTPUT: a SetSystem
2339
+ OUTPUT: a :class:` SetSystem`
2340
2340
2341
2341
.. SEEALSO::
2342
2342
@@ -2388,7 +2388,7 @@ cdef class Matroid(SageObject):
2388
2388
"""
2389
2389
Return the cocircuits of the matroid.
2390
2390
2391
- OUTPUT: a SetSystem
2391
+ OUTPUT: a :class:` SetSystem`
2392
2392
2393
2393
.. SEEALSO::
2394
2394
@@ -2414,7 +2414,7 @@ cdef class Matroid(SageObject):
2414
2414
A *noncospanning cocircuit* is a cocircuit whose corank is strictly
2415
2415
smaller than the corank of the matroid.
2416
2416
2417
- OUTPUT: a SetSystem
2417
+ OUTPUT: a :class:` SetSystem`
2418
2418
2419
2419
.. SEEALSO::
2420
2420
@@ -2503,7 +2503,7 @@ cdef class Matroid(SageObject):
2503
2503
A * nonbasis* is a set with cardinality ``self. full_rank( ) `` that is
2504
2504
not a basis.
2505
2505
2506
- OUTPUT: a SetSystem
2506
+ OUTPUT: a :class:` SetSystem`
2507
2507
2508
2508
.. SEEALSO::
2509
2509
@@ -2617,7 +2617,7 @@ cdef class Matroid(SageObject):
2617
2617
2618
2618
A * basis* is a maximal independent set.
2619
2619
2620
- OUTPUT: a SetSystem
2620
+ OUTPUT: a :class:` SetSystem`
2621
2621
2622
2622
EXAMPLES::
2623
2623
@@ -2884,7 +2884,7 @@ cdef class Matroid(SageObject):
2884
2884
2885
2885
- ``r`` -- A natural number.
2886
2886
2887
- OUTPUT: a SetSystem
2887
+ OUTPUT: a :class:` SetSystem`
2888
2888
2889
2889
.. SEEALSO::
2890
2890
@@ -2910,7 +2910,7 @@ cdef class Matroid(SageObject):
2910
2910
2911
2911
- ``r`` -- a nonnegative integer
2912
2912
2913
- OUTPUT: a SetSystem
2913
+ OUTPUT: a :class:` SetSystem`
2914
2914
2915
2915
.. SEEALSO::
2916
2916
@@ -3248,7 +3248,7 @@ cdef class Matroid(SageObject):
3248
3248
- ``invariant`` -- (optional) either a semigroup ``G`` whose
3249
3249
``__call__`` acts on the groundset, or pair ``(G, action)`` where
3250
3250
``G`` is a semigroup and ``action`` is a function ``action(g,e)``
3251
- which takes a pair of a group element and a grounset element and
3251
+ which takes a pair of a group element and a groundset element and
3252
3252
returns the groundset element which is the result of ``e`` acted upon
3253
3253
by ``g``
3254
3254
@@ -5419,7 +5419,7 @@ cdef class Matroid(SageObject):
5419
5419
5420
5420
- ``None`` -- The most appropriate algorithm is chosen automatically.
5421
5421
- ``"intersection"`` -- an algorithm based on matroid intersection, equivalent
5422
- to calling ``is_kconnected( 4,certificate) ``.
5422
+ to calling ``is_kconnected( 4, certificate) ``.
5423
5423
- ``"shifting"`` -- an algorithm based on the shifting algorithm [Raj1987 ]_.
5424
5424
5425
5425
OUTPUT: boolean, or a tuple ``( boolean, frozenset) ``
@@ -5782,8 +5782,8 @@ cdef class Matroid(SageObject):
5782
5782
5783
5783
OUTPUT:
5784
5784
5785
- - `False, None` -- if there is no ``m``-separator
5786
- - `True, E` -- if there exist an ``m``-separator ``E``
5785
+ - `` False, None` ` -- if there is no ``m``-separator
5786
+ - `` True, E`` -- if there exists an ``m``-separator ``E``
5787
5787
5788
5788
EXAMPLES::
5789
5789
@@ -6196,7 +6196,7 @@ cdef class Matroid(SageObject):
6196
6196
``False``, any output will represent ``self`` if and only if the
6197
6197
matroid is binary
6198
6198
6199
- OUTPUT: either a `` BinaryMatroid` `, or ``None``
6199
+ OUTPUT: either a :class:` BinaryMatroid`, or ``None``
6200
6200
6201
6201
ALGORITHM:
6202
6202
@@ -7765,7 +7765,6 @@ cdef class Matroid(SageObject):
7765
7765
7766
7766
:meth:`~sage. matroids. matroid. Matroid. whitney_numbers`
7767
7767
7768
-
7769
7768
TESTS::
7770
7769
7771
7770
sage: M = Matroid( groundset=[0,1,2 ], circuits=[[0 ]])
@@ -7774,7 +7773,7 @@ cdef class Matroid(SageObject):
7774
7773
sage: l = -1
7775
7774
sage: for M in matroids. AllMatroids( 6) : # optional - matroid_database
7776
7775
.... : r = M. rank( )
7777
- .... : assert M. characteristic_polynomial( l) == ( -1) ** r * M. tutte_polynomial( 1- l, 0)
7776
+ .... : assert M. characteristic_polynomial( l) == ( -1) ** r * M. tutte_polynomial( 1 - l, 0)
7778
7777
.... : if not M. loops( ) :
7779
7778
.... : assert ( -1) ** r * M. characteristic_polynomial( l) == sum( M. broken_circuit_complex( ) . f_vector( ))
7780
7779
"""
0 commit comments