summaryrefslogtreecommitdiff
path: root/src/python/gudhi/subsampling.pyx
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2020-01-04 12:50:14 +0100
committerMarc Glisse <marc.glisse@inria.fr>2020-01-04 12:50:14 +0100
commitbcc49c54943e20b117a3a83579d94f6c1b0efd04 (patch)
tree8ba6e8f8066226658ec9ee3edd1a902af964bdb5 /src/python/gudhi/subsampling.pyx
parent1a9c2e7e25751ec2399bf12d086d7e2113c02faf (diff)
Link the doc for subsampling & point file readers, some reorg
Diffstat (limited to 'src/python/gudhi/subsampling.pyx')
-rw-r--r--src/python/gudhi/subsampling.pyx12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/python/gudhi/subsampling.pyx b/src/python/gudhi/subsampling.pyx
index e0cd1348..04f66219 100644
--- a/src/python/gudhi/subsampling.pyx
+++ b/src/python/gudhi/subsampling.pyx
@@ -33,7 +33,7 @@ def choose_n_farthest_points(points=None, off_file='', nb_points=0, starting_poi
The iteration starts with the landmark `starting point`.
:param points: The input point set.
- :type points: vector[vector[double]].
+ :type points: list(list(float)).
Or
@@ -47,7 +47,7 @@ def choose_n_farthest_points(points=None, off_file='', nb_points=0, starting_poi
index is chosen randomly.
:type starting_point: unsigned.
:returns: The subsample point set.
- :rtype: vector[vector[double]]
+ :rtype: list(list(float)).
"""
if off_file:
if os.path.isfile(off_file):
@@ -74,7 +74,7 @@ def pick_n_random_points(points=None, off_file='', nb_points=0):
"""Subsample a point set by picking random vertices.
:param points: The input point set.
- :type points: vector[vector[double]].
+ :type points: list(list(float)).
Or
@@ -84,7 +84,7 @@ def pick_n_random_points(points=None, off_file='', nb_points=0):
:param nb_points: Number of points of the subsample.
:type nb_points: unsigned.
:returns: The subsample point set.
- :rtype: vector[vector[double]]
+ :rtype: list(list(float))
"""
if off_file:
if os.path.isfile(off_file):
@@ -103,7 +103,7 @@ def sparsify_point_set(points=None, off_file='', min_squared_dist=0.0):
between any two points is greater than or equal to min_squared_dist.
:param points: The input point set.
- :type points: vector[vector[double]].
+ :type points: list(list(float)).
Or
@@ -114,7 +114,7 @@ def sparsify_point_set(points=None, off_file='', min_squared_dist=0.0):
points.
:type min_squared_dist: float.
:returns: The subsample point set.
- :rtype: vector[vector[double]]
+ :rtype: list(list(float))
"""
if off_file:
if os.path.isfile(off_file):