diff options
author | yuichi-ike <yuichi.ike.1990@gmail.com> | 2020-05-12 09:37:32 +0900 |
---|---|---|
committer | yuichi-ike <yuichi.ike.1990@gmail.com> | 2020-05-12 09:37:32 +0900 |
commit | 6c17494e02721ca826750155bac14c7f91a173fa (patch) | |
tree | 94caf6a3852dd82f8c1b13f4394ee02e3e52661f /src/python/doc/rips_complex_ref.rst | |
parent | 5040c75893cb864f5e780b6644b8097f7beeb3a6 (diff) |
reference and comments added
Diffstat (limited to 'src/python/doc/rips_complex_ref.rst')
-rw-r--r-- | src/python/doc/rips_complex_ref.rst | 4 |
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))] |