summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-11-03 09:27:21 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-11-03 09:27:21 +0100
commit666f3f54498f47f1bc1cddbd522e5f53b9aae63a (patch)
treeba7d8e993daece77246b55e371a6b2214b53d47d
parent5900b2d802a7387f7fd4a87b5251dcbe6931371c (diff)
Add comment in code for 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.