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

Commit

Permalink
A last little bit of doc tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Scrimshaw committed Jan 22, 2016
1 parent cdc471a commit e51cb6d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/sage/algebras/orlik_solomon.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,9 @@ def subset_image(self, S):
Return the element `e_S` of `A(M)` (``== self``) corresponding to
a subset `S` of the ground set of `M`.
The set `S` is to be given as a frozenset.
INPUT:
- ``S`` -- a frozenset which is a subset of the ground set of `M`
EXAMPLES::
Expand All @@ -333,6 +335,8 @@ def subset_image(self, S):
sage: OS.subset_image(frozenset({2,3,4}))
OS{0, 2, 3} + OS{0, 3, 4}
TESTS::
sage: G = Graph([[1,2],[1,2],[2,3],[2,3],[1,3],[1,3]], multiedges=True)
sage: M = Matroid(G)
sage: sorted([sorted(c) for c in M.circuits()])
Expand Down Expand Up @@ -372,7 +376,7 @@ def subset_image(self, S):
sage: OS.subset_image(frozenset([1, 3, 4]))
-OS{0, 2, 3} + OS{0, 2, 4}
An example of a custom ordering:
An example of a custom ordering::
sage: G = Graph([[3, 4], [4, 1], [1, 2], [2, 3], [3, 5], [5, 6], [6, 3]])
sage: M = Matroid(G)
Expand Down

0 comments on commit e51cb6d

Please sign in to comment.