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

Commit

Permalink
Polyhedron_base.affine_hull_manifold: Small edit to the doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Feb 20, 2022
1 parent 4d928af commit 9b183e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/geometry/polyhedron/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5759,12 +5759,12 @@ def affine_hull_manifold(self, name=None, latex_name=None, start_index=0, ambien
E^3 → A
(x, y, z) ↦ (x0, x1) = (-x + y + 1, -1/2*x - 1/2*y + z + 1/2)
Arrangement of affine hull of facets::
Arrangement of affine hulls of facets::
sage: D = polytopes.dodecahedron() # optional - sage.rings.number_field
sage: E3 = EuclideanSpace(3) # optional - sage.rings.number_field
sage: submanifolds = [ # optional - sage.rings.number_field
....: F.as_polyhedron().affine_hull_manifold(name=f'F{i}', orthogonal=True, ambient_space=E3)
....: F.as_polyhedron().affine_hull_manifold(name=f'aff_F{i}', orthogonal=True, ambient_space=E3)
....: for i, F in enumerate(D.facets())]
sage: sum(FM.plot({}, srange(-2, 2, 0.1), srange(-2, 2, 0.1), opacity=0.2) # not tested # optional - sage.plot # optional - sage.rings.number_field
....: for FM in submanifolds) + D.plot()
Expand Down

0 comments on commit 9b183e2

Please sign in to comment.