summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>2020-11-03 10:26:26 +0100
committerGitHub <noreply@github.com>2020-11-03 10:26:26 +0100
commitc109e2f5a9ba222068a8257d4a74c34b69b3f74c (patch)
treeba7d8e993daece77246b55e371a6b2214b53d47d
parent5900b2d802a7387f7fd4a87b5251dcbe6931371c (diff)
parent666f3f54498f47f1bc1cddbd522e5f53b9aae63a (diff)
Merge pull request #417 from VincentRouvreau/python_stree_boundaries_doc
get_boundaries if not interested in filtration values
-rw-r--r--src/python/gudhi/simplex_tree.pyx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/python/gudhi/simplex_tree.pyx b/src/python/gudhi/simplex_tree.pyx
index c671da56..813dc5c2 100644
--- a/src/python/gudhi/simplex_tree.pyx
+++ b/src/python/gudhi/simplex_tree.pyx
@@ -287,6 +287,8 @@ cdef class SimplexTree:
def get_boundaries(self, simplex):
"""This function returns a generator with the boundaries of a given N-simplex.
+ If you do not need the filtration values, the boundary can also be obtained as
+ :code:`itertools.combinations(simplex,len(simplex)-1)`.
:param simplex: The N-simplex, represented by a list of vertex.
:type simplex: list of int.