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

Commit

Permalink
moved comment about cyclic polytopes
Browse files Browse the repository at this point in the history
  • Loading branch information
mo271 committed Mar 6, 2017
1 parent 604b46b commit eea1215
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/sage/geometry/polyhedron/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4242,18 +4242,19 @@ def is_neighborly(self, k=None):
:meth:`neighborliness`
EXAMPLES:
Cyclic polytopes are neighborly:
::
EXAMPLES::
sage: cube = polytopes.hypercube(3)
sage: cube.is_neighborly()
True
sage: cube = polytopes.hypercube(4)
sage: cube.is_neighborly()
False
Cyclic polytopes are neighborly:
::
sage: all([polytopes.cyclic_polytope(i, i + 1 + j).is_neighborly() for i in range(5) for j in range(3)])
True
Expand Down

0 comments on commit eea1215

Please sign in to comment.