diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2021-03-23 16:21:00 +0100 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2021-03-23 16:21:00 +0100 |
commit | dcb90cc644f91265c9bd3011a89b5f0b0e9f3869 (patch) | |
tree | 91fc644348bfe65cc811d8a7ddff21a1167f26d9 /src/python/doc/alpha_complex_user.rst | |
parent | 0313c98f32363bfc75162613b3cfa9b7efa4081b (diff) |
Remove weighted_points, as it is overdesigned
Diffstat (limited to 'src/python/doc/alpha_complex_user.rst')
-rw-r--r-- | src/python/doc/alpha_complex_user.rst | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/python/doc/alpha_complex_user.rst b/src/python/doc/alpha_complex_user.rst index 5e028cdc..f59f69e7 100644 --- a/src/python/doc/alpha_complex_user.rst +++ b/src/python/doc/alpha_complex_user.rst @@ -191,18 +191,12 @@ Then, it is asked to display information about the alpha complex. .. testcode:: from gudhi import AlphaComplex - wgt_ac = AlphaComplex(weighted_points=[[[ 1., -1., -1.], 4.], - [[-1., 1., -1.], 4.], - [[-1., -1., 1.], 4.], - [[ 1., 1., 1.], 4.], - [[ 2., 2., 2.], 1.]]) - # equivalent to: - # wgt_ac = AlphaComplex(points=[[ 1., -1., -1.], - # [-1., 1., -1.], - # [-1., -1., 1.], - # [ 1., 1., 1.], - # [ 2., 2., 2.]], - # weights = [4., 4., 4., 4., 1.]) + wgt_ac = AlphaComplex(points=[[ 1., -1., -1.], + [-1., 1., -1.], + [-1., -1., 1.], + [ 1., 1., 1.], + [ 2., 2., 2.]], + weights = [4., 4., 4., 4., 1.]) stree = wgt_ac.create_simplex_tree() print('Weighted alpha complex is of dimension ', stree.dimension(), ' - ', |