Skip to content

Commit ca5c5ba

Browse files
committed
Use :math:\infty where applicable
1 parent e11d373 commit ca5c5ba

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

dpnp/dpnp_iface_trigonometric.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ def _get_accumulation_res_dt(a, dtype):
162162
or infinity, it yields ``NaN``.
163163
164164
For complex floating-point input data types, :obj:`dpnp.acos` is a complex
165-
analytic function that has, by convention, the branch cuts :math:`[-inf, -1]`
166-
and :math:`[1, inf]` and is continuous from above on the former and from below
167-
on the latter.
165+
analytic function that has, by convention, the branch cuts
166+
:math:`[-\infty, -1]` and :math:`[1, \infty]` and is continuous from above on
167+
the former and from below on the latter.
168168
169169
The inverse cosine is also known as :math:`arccos` or :math:`cos^{-1}`.
170170
@@ -215,7 +215,7 @@ def _get_accumulation_res_dt(a, dtype):
215215
-------
216216
out : dpnp.ndarray
217217
An array containing the element-wise inverse hyperbolic cosine, in
218-
radians and in the half-closed interval `[0, inf)`. The data type
218+
radians and in the half-closed interval `[0, \infty)`. The data type
219219
of the returned array is determined by the Type Promotion Rules.
220220
221221
Limitations
@@ -237,14 +237,14 @@ def _get_accumulation_res_dt(a, dtype):
237237
-----
238238
:obj:`dpnp.arccosh` is a multivalued function: for each `x` there are infinitely
239239
many numbers `z` such that ``cosh(z) = x``. The convention is to return the
240-
angle `z` whose real part lies in `[0, inf]`.
240+
angle `z` whose real part lies in `[0, \infty]`.
241241
242242
For real-valued input data types, :obj:`dpnp.arccosh` always returns real output.
243243
For each value that cannot be expressed as a real number or infinity, it yields
244244
``NaN``.
245245
246246
For complex-valued input, :obj:`dpnp.arccosh` is a complex analytic function that
247-
has, by convention, the branch cuts `[-inf, 1]` and is continuous from above.
247+
has, by convention, the branch cuts `[-\infty, 1]` and is continuous from above.
248248
249249
The inverse hyperbolic cos is also known as :math:`acosh` or :math:`cosh^{-1}`.
250250
@@ -325,7 +325,7 @@ def _get_accumulation_res_dt(a, dtype):
325325
``NaN``.
326326
327327
For complex-valued input, :obj:`dpnp.arcsin` is a complex analytic function that
328-
has, by convention, the branch cuts `[-inf, -1]` and `[1, inf]` and is continuous
328+
has, by convention, the branch cuts `[-\infty, -1]` and `[1, \infty]` and is continuous
329329
from above on the former and from below on the latter.
330330
331331
The inverse sine is also known as :math:`asin` or :math:`sin^{-1}`.
@@ -652,7 +652,7 @@ def _get_accumulation_res_dt(a, dtype):
652652
``NaN``.
653653
654654
For complex-valued input, :obj:`dpnp.arctanh` is a complex analytic function that
655-
has, by convention, the branch cuts `[-1, -inf]` and `[1, inf]` and is is continuous
655+
has, by convention, the branch cuts `[-1, -\infty]` and `[1, \infty]` and is is continuous
656656
from above on the former and from below on the latter.
657657
658658
The inverse hyperbolic tan is also known as :math:`atanh` or :math:`tanh^{-1}`.

0 commit comments

Comments
 (0)