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

Commit

Permalink
Added 'polytope' and fixed sum
Browse files Browse the repository at this point in the history
  • Loading branch information
jplab committed Jul 23, 2019
1 parent 95d6bda commit 5971228
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions src/sage/geometry/polyhedron/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -1710,8 +1710,8 @@ def runcitruncated_six_hundred_cell(self, exact=True, backend=None):
"""
Return the runcitruncated 600-cell.
The runcitruncated 600-cell is a 4-dimensional 4-uniform in the `H_4`
family. It has 7200 vertices. For more information see
The runcitruncated 600-cell is a 4-dimensional 4-uniform polytope in
the `H_4` family. It has 7200 vertices. For more information see
:wikipedia:`Runcitruncated 600-cell`.
.. WARNING::
Expand Down Expand Up @@ -1739,8 +1739,8 @@ def cantitruncated_six_hundred_cell(self, exact=True, backend=None):
"""
Return the cantitruncated 600-cell.
The cantitruncated 600-cell is a 4-dimensional 4-uniform in the `H_4`
family. It has 7200 vertices. For more information see
The cantitruncated 600-cell is a 4-dimensional 4-uniform polytope in
the `H_4` family. It has 7200 vertices. For more information see
:wikipedia:`Cantitruncated 600-cell`.
.. WARNING::
Expand All @@ -1767,8 +1767,8 @@ def bitruncated_six_hundred_cell(self, exact=True, backend=None):
"""
Return the bitruncated 600-cell.
The bitruncated 600-cell is a 4-dimensional 4-uniform in the `H_4`
family. It has 3600 vertices. For more information see
The bitruncated 600-cell is a 4-dimensional 4-uniform polytope in the
`H_4` family. It has 3600 vertices. For more information see
:wikipedia:`Bitruncated 600-cell`.
.. WARNING::
Expand All @@ -1795,8 +1795,8 @@ def cantellated_six_hundred_cell(self, exact=False, backend=None):
"""
Return the cantellated 600-cell.
The cantellated 600-cell is a 4-dimensional 4-uniform in the `H_4`
family. It has 3600 vertices. For more information see
The cantellated 600-cell is a 4-dimensional 4-uniform polytope in the
`H_4` family. It has 3600 vertices. For more information see
:wikipedia:`Cantellated 600-cell`.
.. WARNING::
Expand Down Expand Up @@ -1835,8 +1835,8 @@ def truncated_six_hundred_cell(self, exact=False, backend=None):
"""
Return the truncated 600-cell.
The truncated 600-cell is a 4-dimensional 4-uniform in the `H_4`
family. It has 1440 vertices. For more information see
The truncated 600-cell is a 4-dimensional 4-uniform polytope in the
`H_4` family. It has 1440 vertices. For more information see
:wikipedia:`Truncated 600-cell`.
.. WARNING::
Expand Down Expand Up @@ -1868,8 +1868,8 @@ def rectified_six_hundred_cell(self, exact=True, backend=None):
"""
Return the rectified 600-cell.
The rectified 600-cell is a 4-dimensional 4-uniform in the `H_4`
family. It has 720 vertices. For more information see
The rectified 600-cell is a 4-dimensional 4-uniform polytope in the
`H_4` family. It has 720 vertices. For more information see
:wikipedia:`Rectified 600-cell`.
.. WARNING::
Expand Down Expand Up @@ -2390,7 +2390,7 @@ def generalized_permutahedron(self, coxeter_type, point=None, exact=True, regula
rhs = vector(list(col[:i+1]))
adjusted_col = m.solve_right(rhs)
# Then scales the images so that the polytope is inscribed
c = 1 - sum([adjusted_col[j]**2 for j in range(n) if j != i])
c = 1 - sum(adjusted_col[j]**2 for j in range(n) if j != i)
c = c.sqrt()
adjusted_col[i] = c
transf_col[-1] = adjusted_col
Expand All @@ -2408,8 +2408,8 @@ def omnitruncated_one_hundred_twenty_cell(self, exact=True, backend=None):
"""
Return the omnitruncated 120-cell.
The omnitruncated 120-cell is a 4-dimensional 4-uniform in the `H_4`
family. It has 14400 vertices. For more information see
The omnitruncated 120-cell is a 4-dimensional 4-uniform polytope in the
`H_4` family. It has 14400 vertices. For more information see
:wikipedia:`Omnitruncated 120-cell`.
.. WARNING::
Expand Down Expand Up @@ -2441,8 +2441,8 @@ def runcitruncated_one_hundred_twenty_cell(self, exact=False, backend=None):
"""
Return the runcitruncated 120-cell.
The runcitruncated 120-cell is a 4-dimensional 4-uniform in the `H_4`
family. It has 7200 vertices. For more information see
The runcitruncated 120-cell is a 4-dimensional 4-uniform polytope in
the `H_4` family. It has 7200 vertices. For more information see
:wikipedia:`Runcitruncated 120-cell`.
.. WARNING::
Expand Down Expand Up @@ -2480,8 +2480,8 @@ def cantitruncated_one_hundred_twenty_cell(self, exact=True, backend=None):
"""
Return the cantitruncated 120-cell.
The cantitruncated 120-cell is a 4-dimensional 4-uniform in the `H_4`
family. It has 7200 vertices. For more information see
The cantitruncated 120-cell is a 4-dimensional 4-uniform polytope in
the `H_4` family. It has 7200 vertices. For more information see
:wikipedia:`Cantitruncated 120-cell`.
.. WARNING::
Expand All @@ -2508,8 +2508,8 @@ def runcinated_one_hundred_twenty_cell(self, exact=False, backend=None):
"""
Return the runcinated 120-cell.
The runcinated 120-cell is a 4-dimensional 4-uniform in the `H_4`
family. It has 2400 vertices. For more information see
The runcinated 120-cell is a 4-dimensional 4-uniform polytope in the
`H_4` family. It has 2400 vertices. For more information see
:wikipedia:`Runcinated 120-cell`.
.. WARNING::
Expand Down Expand Up @@ -2546,8 +2546,8 @@ def cantellated_one_hundred_twenty_cell(self, exact=True, backend=None):
"""
Return the cantellated 120-cell.
The cantellated 120-cell is a 4-dimensional 4-uniform in the `H_4`
family. It has 3600 vertices. For more information see
The cantellated 120-cell is a 4-dimensional 4-uniform polytope in the
`H_4` family. It has 3600 vertices. For more information see
:wikipedia:`Cantellated 120-cell`.
.. WARNING::
Expand All @@ -2574,8 +2574,8 @@ def truncated_one_hundred_twenty_cell(self, exact=True, backend=None):
"""
Return the truncated 120-cell.
The truncated 120-cell is a 4-dimensional 4-uniform in the `H_4`
family. It has 2400 vertices. For more information see
The truncated 120-cell is a 4-dimensional 4-uniform polytope in the
`H_4` family. It has 2400 vertices. For more information see
:wikipedia:`Truncated 120-cell`.
.. WARNING::
Expand All @@ -2602,8 +2602,8 @@ def rectified_one_hundred_twenty_cell(self, exact=True, backend=None):
"""
Return the rectified 120-cell.
The rectified 120-cell is a 4-dimensional 4-uniform in the `H_4`
family. It has 1200 vertices. For more information see
The rectified 120-cell is a 4-dimensional 4-uniform polytope in the
`H_4` family. It has 1200 vertices. For more information see
:wikipedia:`Rectified 120-cell`.
.. WARNING::
Expand All @@ -2630,8 +2630,8 @@ def one_hundred_twenty_cell(self, exact=True, backend=None):
"""
Return the 120-cell.
The 120-cell is a 4-dimensional 4-uniform in the `H_4`
family. It has 600 vertices and 120 facets. For more information see
The 120-cell is a 4-dimensional 4-uniform polytope in the `H_4` family.
It has 600 vertices and 120 facets. For more information see
:wikipedia:`120-cell`.
.. WARNING::
Expand Down

0 comments on commit 5971228

Please sign in to comment.