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

Commit

Permalink
improved documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kliem committed Apr 20, 2020
1 parent d6e1bf6 commit f4689d3
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/sage/geometry/polyhedron/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3083,14 +3083,12 @@ def combinatorial_polyhedron(self):

def simplicity(self):
r"""
Return the largest `k` such that the polytope is `k`-simple.
Return the dimension in case of a simplex.
Return the largest integer `k` such that the polytope is `k`-simple.
A polytope `P` is `k`-simple, if every `(d-1-k)`-face
is contained in exactly `k+1` facets of `P` for `1 <= k <= d-1`.
Equivalently it is `k`-simple if the polar/dual polytope is `k`-simplicial.
If `self` is a simplex, it returns its dimension.
EXAMPLES::
Expand Down Expand Up @@ -3138,11 +3136,10 @@ def is_simple(self):

def simpliciality(self):
r"""
Return the largest `k` such that the polytope is `k`-simplicial.
Return the dimension in case of a simplex.
Return the largest interger `k` such that the polytope is `k`-simplicial.
A polytope is `k`-simplicial, if every `k`-face is a simplex.
If `self` is a simplex, returns its dimension.
EXAMPLES::
Expand Down

0 comments on commit f4689d3

Please sign in to comment.