You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 30, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: src/doc/en/thematic_tutorials/geometry/polyhedra_tutorial.rst
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -165,6 +165,13 @@ The following example demonstrates the limitations of :code:`RDF`.
165
165
sage: D = polytopes.dodecahedron()
166
166
sage: D
167
167
A 3-dimensional polyhedron in (Number Field in sqrt5 with defining polynomial x^2 - 5 with sqrt5 = 2.236067977499790?)^3 defined as the convex hull of 20 vertices
168
+
sage: D_RDF = Polyhedron(vertices = [n(v.vector(),digits=6) for v in D.vertices()], base_ring=RDF)
169
+
doctest:warning
170
+
...
171
+
UserWarning: This polyhedron data is numerically complicated; cdd
172
+
could not convert between the inexact V and H representation
173
+
without loss of data. The resulting object might show
174
+
inconsistencies.
168
175
sage: D_RDF = Polyhedron(vertices = sorted([n(v.vector(),digits=6) for v in D.vertices()]), base_ring=RDF)
0 commit comments