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

Commit

Permalink
Trac #27329: insert 3 whitespaces (PEP8)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrenn committed Feb 20, 2019
1 parent 1ca3e2c commit 4efdb48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sage/geometry/polyhedron/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -6589,7 +6589,7 @@ def affine_hull(self, as_affine_map=False, orthogonal=False, orthonormal=False,
- ``as_affine_map`` (boolean, default = False) -- If ``False``, return
a polyhedron. If ``True``, return the affine transformation,
that sends the embedded polytope to a fulldimensional one.
It is given as a pair ``(A,b)``, where A is a linear transformation
It is given as a pair ``(A, b)``, where A is a linear transformation
and ``b`` is a vector, and the affine transformation sends ``v`` to
``A(v)+b``.
Expand Down Expand Up @@ -6753,7 +6753,7 @@ def affine_hull(self, as_affine_map=False, orthogonal=False, orthonormal=False,
sage: Pentagon = polytopes.dodecahedron().faces(2)[0].as_polyhedron()
sage: Pnormal = Pentagon.affine_hull(orthonormal=True, extend=True)
sage: Pgonal = Pentagon.affine_hull(orthogonal=True)
sage: A,b = Pentagon.affine_hull(orthogonal = True, as_affine_map=True)
sage: A, b = Pentagon.affine_hull(orthogonal=True, as_affine_map=True)
sage: Adet = (A.matrix().transpose()*A.matrix()).det()
sage: Pnormal.volume()
1.53406271079097?
Expand All @@ -6767,7 +6767,7 @@ def affine_hull(self, as_affine_map=False, orthogonal=False, orthonormal=False,
An other example with ``as_affine_map=True``::
sage: P = polytopes.permutahedron(4)
sage: A,b = P.affine_hull(orthonormal=True, as_affine_map=True, extend=True)
sage: A, b = P.affine_hull(orthonormal=True, as_affine_map=True, extend=True)
sage: Q = P.affine_hull(orthonormal=True, extend=True)
sage: Q.center()
(0.7071067811865475?, 1.224744871391589?, 1.732050807568878?)
Expand Down

0 comments on commit 4efdb48

Please sign in to comment.