summaryrefslogtreecommitdiff
path: root/src/python/doc
diff options
context:
space:
mode:
authorVincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>2022-04-11 09:39:16 +0200
committerGitHub <noreply@github.com>2022-04-11 09:39:16 +0200
commita43ca657787745e8b945943987b313106ec67f1f (patch)
tree7958e4bfc128cd0cb0c2cf02857be17b7b3f57cd /src/python/doc
parentb066b4376abf66ddc76e61a6a815a409b05fe59b (diff)
parent25172af7cbe5a3ea3017bed6fde53be471a7e4bf (diff)
Merge pull request #596 from VincentRouvreau/float_relative_precision_alpha_python
Float relative precision alpha python
Diffstat (limited to 'src/python/doc')
-rw-r--r--src/python/doc/alpha_complex_user.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/python/doc/alpha_complex_user.rst b/src/python/doc/alpha_complex_user.rst
index cfd22742..b060c86e 100644
--- a/src/python/doc/alpha_complex_user.rst
+++ b/src/python/doc/alpha_complex_user.rst
@@ -27,7 +27,8 @@ Remarks
If you pass :code:`precision = 'exact'` to :func:`~gudhi.AlphaComplex.__init__`, the filtration values are the exact
ones converted to float. This can be very slow.
If you pass :code:`precision = 'safe'` (the default), the filtration values are only
- guaranteed to have a small multiplicative error compared to the exact value.
+ guaranteed to have a small multiplicative error compared to the exact value, see
+ :func:`~gudhi.AlphaComplex.set_float_relative_precision` to modify the precision.
A drawback, when computing persistence, is that an empty exact interval [10^12,10^12] may become a
non-empty approximate interval [10^12,10^12+10^6].
Using :code:`precision = 'fast'` makes the computations slightly faster, and the combinatorics are still exact, but