summaryrefslogtreecommitdiff
path: root/cython/doc/tangential_complex_user.rst
diff options
context:
space:
mode:
authorGard Spreemann <gspreemann@gmail.com>2018-06-15 12:42:55 +0200
committerGard Spreemann <gspreemann@gmail.com>2018-06-15 12:42:55 +0200
commitc31bac6af57af917b8f799d0c21eb6af34ee1f6e (patch)
tree5a9603a4ec016f1aa09c7da52510790680c790c3 /cython/doc/tangential_complex_user.rst
parent02de1136cf9850803cb1e1ac1141f11b50be2992 (diff)
parent41482b4260b4aff3d6803e340d5c94fbefb9af67 (diff)
Merge branch 'dfsg/latest' into debian/sid
Diffstat (limited to 'cython/doc/tangential_complex_user.rst')
-rw-r--r--cython/doc/tangential_complex_user.rst13
1 files changed, 9 insertions, 4 deletions
diff --git a/cython/doc/tangential_complex_user.rst b/cython/doc/tangential_complex_user.rst
index efa6d7ce..5ce69e86 100644
--- a/cython/doc/tangential_complex_user.rst
+++ b/cython/doc/tangential_complex_user.rst
@@ -1,6 +1,10 @@
+:orphan:
+
+.. To get rid of WARNING: document isn't included in any toctree
+
Tangential complex user manual
==============================
-.. include:: tangential_complex_sum.rst
+.. include:: tangential_complex_sum.inc
Definition
----------
@@ -122,8 +126,8 @@ This example builds the Tangential complex of point set read in an OFF file.
.. testcode::
import gudhi
- tc = gudhi.TangentialComplex(off_file=gudhi.__root_source_dir__ + \
- '/data/points/alphacomplexdoc.off')
+ tc = gudhi.TangentialComplex(intrisic_dim = 1,
+ off_file=gudhi.__root_source_dir__ + '/data/points/alphacomplexdoc.off')
result_str = 'Tangential contains ' + repr(tc.num_simplices()) + \
' simplices - ' + repr(tc.num_vertices()) + ' vertices.'
print(result_str)
@@ -169,7 +173,8 @@ simplices.
.. testcode::
import gudhi
- tc = gudhi.TangentialComplex(points=[[0.0, 0.0], [1.0, 0.0], [0.0, 1.0], [1.0, 1.0]])
+ tc = gudhi.TangentialComplex(intrisic_dim = 1,
+ points=[[0.0, 0.0], [1.0, 0.0], [0.0, 1.0], [1.0, 1.0]])
result_str = 'Tangential contains ' + repr(tc.num_vertices()) + ' vertices.'
print(result_str)