summaryrefslogtreecommitdiff
path: root/src/python/doc/rips_complex_ref.rst
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/doc/rips_complex_ref.rst')
-rw-r--r--src/python/doc/rips_complex_ref.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/python/doc/rips_complex_ref.rst b/src/python/doc/rips_complex_ref.rst
index 8fc7e1b0..3c25564a 100644
--- a/src/python/doc/rips_complex_ref.rst
+++ b/src/python/doc/rips_complex_ref.rst
@@ -25,7 +25,7 @@ Weighted Rips complex reference manual
.. automethod:: gudhi.WeightedRipsComplex.__init__
Basic examples
--------------
+--------------
The following example computes the weighted Rips filtration associated with a distance matrix and weights on vertices.
@@ -60,6 +60,8 @@ Combining with DistanceToMeasure, one can compute the DTM-filtration of a point
st = w_rips.create_simplex_tree(max_dimension=2)
print(st.persistence())
+The output is:
+
.. testoutput::
[(0, (3.1622776601683795, inf)), (0, (3.1622776601683795, 5.39834563766817)), (0, (3.1622776601683795, 5.39834563766817))]