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

Commit

Permalink
affine_hull -> affine_hull_projection in doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Apr 13, 2021
1 parent d25f7f3 commit 7e0f31d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sage/geometry/polyhedron/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10174,8 +10174,8 @@ def affine_hull_projection(self, as_polyhedron=None, as_affine_map=False, orthog
Return polyhedron and affine map::
sage: S = polytopes.simplex(2)
sage: S.affine_hull(orthogonal=True,
....: as_polyhedron=True, as_affine_map=True)
sage: S.affine_hull_projection(orthogonal=True,
....: as_polyhedron=True, as_affine_map=True)
{'affine_map': (Vector space morphism represented by the matrix:
[ 0 1]
[ 1 -1/2]
Expand All @@ -10186,7 +10186,7 @@ def affine_hull_projection(self, as_polyhedron=None, as_affine_map=False, orthog
Return additional data::
sage: S.affine_hull(orthogonal=True, return_all_data=True)
sage: S.affine_hull_projection(orthogonal=True, return_all_data=True)
{'affine_map': (Vector space morphism represented by the matrix:
[ 0 1]
[ 1 -1/2]
Expand All @@ -10206,7 +10206,7 @@ def affine_hull_projection(self, as_polyhedron=None, as_affine_map=False, orthog
sage: P = P0.intersection(Polyhedron(eqns=[(-1, 1, 1, 1, 1, 1)]))
sage: P.dim()
4
sage: P.affine_hull(orthogonal=True, as_affine_map=True)[0]
sage: P.affine_hull_projection(orthogonal=True, as_affine_map=True)[0]
Vector space morphism represented by the matrix:
[ -1/3 -1/3 -1/6 1/12]
[ 1/2 0 1/6 1/12]
Expand Down

0 comments on commit 7e0f31d

Please sign in to comment.