diff options
author | Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com> | 2021-12-07 14:05:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-07 14:05:48 +0100 |
commit | 6880bce525322cc085a3d8671601145d153e29a8 (patch) | |
tree | 11bc4128ac6908ecfdca2b1cdd7e8a78266ecb41 /src/python/gudhi/datasets/generators/_points.cc | |
parent | 6c713b24eb71ede6ebaf5f46df0599b11a9e0959 (diff) | |
parent | b1a635c72d3e287c012212a491da07357b0c6136 (diff) |
Merge pull request #544 from Hind-M/torus_warnings
Remove sphinx warnings for torus
Diffstat (limited to 'src/python/gudhi/datasets/generators/_points.cc')
-rw-r--r-- | src/python/gudhi/datasets/generators/_points.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/python/gudhi/datasets/generators/_points.cc b/src/python/gudhi/datasets/generators/_points.cc index 70ce4925..82fea25b 100644 --- a/src/python/gudhi/datasets/generators/_points.cc +++ b/src/python/gudhi/datasets/generators/_points.cc @@ -96,7 +96,6 @@ PYBIND11_MODULE(_points, m) { :type radius: float :param sample: The sample type. Default and only available value is `"random"`. :type sample: string - :rtype: numpy array of float :returns: the generated points on a sphere. )pbdoc"); @@ -111,10 +110,12 @@ PYBIND11_MODULE(_points, m) { :type dim: integer :param sample: The sample type. Available values are: `"random"` and `"grid"`. Default value is `"random"`. :type sample: string - :rtype: numpy array of float. - The shape of returned numpy array is : - if sample is 'random' : (n_samples, 2*dim). - if sample is 'grid' : (⌊n_samples**(1./dim)⌋**dim, 2*dim), where shape[0] is rounded down to the closest perfect 'dim'th power. :returns: the generated points on a torus. + + The shape of returned numpy array is: + + If sample is 'random': (n_samples, 2*dim). + + If sample is 'grid': (⌊n_samples**(1./dim)⌋**dim, 2*dim), where shape[0] is rounded down to the closest perfect 'dim'th power. )pbdoc"); } |