From 1f532933658bf6788b1ead8ae1d902416872e70a Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Wed, 16 Nov 2022 09:55:36 +0100 Subject: Clarify doc. --- src/python/gudhi/simplex_tree.pyx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/python/gudhi/simplex_tree.pyx b/src/python/gudhi/simplex_tree.pyx index 372cb15c..24b970c4 100644 --- a/src/python/gudhi/simplex_tree.pyx +++ b/src/python/gudhi/simplex_tree.pyx @@ -290,6 +290,8 @@ cdef class SimplexTree: def insert_batch(self, some_int[:,:] vertex_array, some_float[:] filtrations): """Inserts k-simplices given by a sparse array in a format similar to `torch.sparse `_. + The n-th simplex has vertices `vertex_array[0,n]`, ..., + `vertex_array[k,n]` and filtration value `filtrations[n]`. If a simplex is repeated, the smallest filtration value is used. Simplices with a repeated vertex are currently interpreted as lower dimensional simplices, but we do not guarantee this behavior in the -- cgit v1.2.3