Skip to content

Commit fede0af

Browse files
committed
Use :math:\pi where applicable
1 parent fa0772b commit fede0af

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
@@ -135,7 +135,7 @@ def _get_accumulation_res_dt(a, dtype):
135135
-------
136136
out : dpnp.ndarray
137137
An array containing the element-wise inverse cosine, in radians and in the
138-
closed interval :math:`[0, pi]`. The data type of the returned array is
138+
closed interval :math:`[0, \pi]`. The data type of the returned array is
139139
determined by the Type Promotion Rules.
140140
141141
Limitations
@@ -155,7 +155,7 @@ def _get_accumulation_res_dt(a, dtype):
155155
-----
156156
:obj:`dpnp.acos` is a multivalued function: for each `x` there are infinitely
157157
many numbers `z` such that :math:`cos(z) = x`. The convention is to return the
158-
angle `z` whose real part lies in :math:`[0, pi]`.
158+
angle `z` whose real part lies in :math:`[0, \pi]`.
159159
160160
For real-valued floating-point input data types, :obj:`dpnp.acos` always
161161
returns real output. For each value that cannot be expressed as a real number
@@ -295,7 +295,7 @@ def _get_accumulation_res_dt(a, dtype):
295295
-------
296296
out : dpnp.ndarray
297297
An array containing the element-wise inverse sine, in radians
298-
and in the closed interval `[-pi/2, pi/2]`. The data type
298+
and in the closed interval `[-\pi/2, \pi/2]`. The data type
299299
of the returned array is determined by the Type Promotion Rules.
300300
301301
Limitations
@@ -318,7 +318,7 @@ def _get_accumulation_res_dt(a, dtype):
318318
-----
319319
:obj:`dpnp.arcsin` is a multivalued function: for each `x` there are infinitely
320320
many numbers `z` such that ``sin(z) = x``. The convention is to return the
321-
angle `z` whose real part lies in `[-pi/2, pi/2]`.
321+
angle `z` whose real part lies in `[-\pi/2, \pi/2]`.
322322
323323
For real-valued input data types, :obj:`dpnp.arcsin` always returns real output.
324324
For each value that cannot be expressed as a real number or infinity, it yields
@@ -397,7 +397,7 @@ def _get_accumulation_res_dt(a, dtype):
397397
-----
398398
:obj:`dpnp.arcsinh` is a multivalued function: for each `x` there are infinitely
399399
many numbers `z` such that ``sin(z) = x``. The convention is to return the
400-
angle `z` whose real part lies in `[-pi/2, pi/2]`.
400+
angle `z` whose real part lies in `[-\pi/2, \pi/2]`.
401401
402402
For real-valued input data types, :obj:`dpnp.arcsinh` always returns real output.
403403
For each value that cannot be expressed as a real number or infinity, it yields
@@ -457,7 +457,7 @@ def _get_accumulation_res_dt(a, dtype):
457457
-------
458458
out : dpnp.ndarray
459459
An array containing the element-wise inverse tangent, in radians
460-
and in the closed interval `[-pi/2, pi/2]`. The data type
460+
and in the closed interval `[-\pi/2, \pi/2]`. The data type
461461
of the returned array is determined by the Type Promotion Rules.
462462
463463
Limitations
@@ -479,7 +479,7 @@ def _get_accumulation_res_dt(a, dtype):
479479
-----
480480
:obj:`dpnp.arctan` is a multivalued function: for each `x` there are infinitely
481481
many numbers `z` such that ``tan(z) = x``. The convention is to return the
482-
angle `z` whose real part lies in `[-pi/2, pi/2]`.
482+
angle `z` whose real part lies in `[-\pi/2, \pi/2]`.
483483
484484
For real-valued input data types, :obj:`dpnp.arctan` always returns real output.
485485
For each value that cannot be expressed as a real number or infinity, it yields
@@ -645,7 +645,7 @@ def _get_accumulation_res_dt(a, dtype):
645645
-----
646646
:obj:`dpnp.arctanh` is a multivalued function: for each `x` there are infinitely
647647
many numbers `z` such that ``tanh(z) = x``. The convention is to return the
648-
angle `z` whose real part lies in `[-pi/2, pi/2]`.
648+
angle `z` whose real part lies in `[-\pi/2, \pi/2]`.
649649
650650
For real-valued input data types, :obj:`dpnp.arctanh` always returns real output.
651651
For each value that cannot be expressed as a real number or infinity, it yields

0 commit comments

Comments
 (0)