summaryrefslogtreecommitdiff
path: root/numpy/lib/scimath.py
diff options
context:
space:
mode:
authorAaron Meurer <asmeurer@gmail.com>2021-06-14 14:07:18 -0600
committerAaron Meurer <asmeurer@gmail.com>2021-06-14 14:07:18 -0600
commit8c78b84968e580f24b3705378fb35705a434cdf1 (patch)
treec9f82beeb5a2c3f0301f7984d4b6d19539c35d23 /numpy/lib/scimath.py
parent8bf3a4618f1de951c7a4ccdb8bc3e36825a1b744 (diff)
parent75f852edf94a7293e7982ad516bee314d7187c2d (diff)
downloadnumpy-8c78b84968e580f24b3705378fb35705a434cdf1.tar.gz
Merge branch 'main' into matrix_rank-doc-fix
Diffstat (limited to 'numpy/lib/scimath.py')
-rw-r--r--numpy/lib/scimath.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/lib/scimath.py b/numpy/lib/scimath.py
index 2b0d38c37..ed9ffd295 100644
--- a/numpy/lib/scimath.py
+++ b/numpy/lib/scimath.py
@@ -572,10 +572,10 @@ def arctanh(x):
Compute the inverse hyperbolic tangent of `x`.
Return the "principal value" (for a description of this, see
- `numpy.arctanh`) of `arctanh(x)`. For real `x` such that
- `abs(x) < 1`, this is a real number. If `abs(x) > 1`, or if `x` is
+ `numpy.arctanh`) of ``arctanh(x)``. For real `x` such that
+ ``abs(x) < 1``, this is a real number. If `abs(x) > 1`, or if `x` is
complex, the result is complex. Finally, `x = 1` returns``inf`` and
- `x=-1` returns ``-inf``.
+ ``x=-1`` returns ``-inf``.
Parameters
----------
@@ -597,7 +597,7 @@ def arctanh(x):
-----
For an arctanh() that returns ``NAN`` when real `x` is not in the
interval ``(-1,1)``, use `numpy.arctanh` (this latter, however, does
- return +/-inf for `x = +/-1`).
+ return +/-inf for ``x = +/-1``).
Examples
--------