@@ -351,7 +351,7 @@ def _process_ediff1d_args(arg, arg_name, ary_dtype, ary_sycl_queue, usm_type):
351351_ABS_DOCSTRING = """
352352Calculates the absolute value for each element :math:`x_i` of input array `x`.
353353
354- For full documentation refer to :obj:`numpy.abs `.
354+ For full documentation refer to :obj:`numpy.absolute `.
355355
356356Parameters
357357----------
@@ -372,8 +372,8 @@ def _process_ediff1d_args(arg, arg_name, ary_dtype, ary_sycl_queue, usm_type):
372372out : dpnp.ndarray
373373 An array containing the element-wise absolute values.
374374 For complex input, the absolute value is its magnitude.
375- If `x` has a real-valued floating-point data type, the returned array has
376- the same data type as `x`. If `x` has a complex floating-point data type,
375+ If `x` has a real-valued data type, the returned array has the
376+ same data type as `x`. If `x` has a complex floating-point data type,
377377 the returned array has a real-valued floating-point data type whose
378378 precision matches the precision of `x`.
379379
@@ -389,7 +389,7 @@ def _process_ediff1d_args(arg, arg_name, ary_dtype, ary_sycl_queue, usm_type):
389389
390390Notes
391391-----
392- ``dpnp.absolute`` is a shorthand for this function.
392+ ``dpnp.absolute`` is an equivalent function.
393393
394394Examples
395395--------
@@ -497,7 +497,7 @@ def _process_ediff1d_args(arg, arg_name, ary_dtype, ary_sycl_queue, usm_type):
497497)
498498
499499
500- _ANGLE_DOCSTRING = """
500+ _ANGLE_DOCSTRING = r """
501501Computes the phase angle (also called the argument) of each element :math:`x_i`
502502for input array `x`.
503503
@@ -530,13 +530,13 @@ def _process_ediff1d_args(arg, arg_name, ary_dtype, ary_sycl_queue, usm_type):
530530
531531Notes
532532-----
533- Although the angle of the complex number 0 is undefined, `dpnp.angle(0)` returns
534- the value ``0``.
533+ Although the angle of the complex number ``0`` is undefined, `` dpnp.angle(0)``
534+ returns the value ``0``.
535535
536536See Also
537537--------
538- :obj:`dpnp.atan2` : Element-wise arc tangent of `x1/x2 ` choosing the quadrant
539- correctly.
538+ :obj:`dpnp.atan2` : Element-wise arc tangent of :math:`\frac{x1}/{x2} ` choosing
539+ the quadrant correctly.
540540:obj:`dpnp.atan` : Trigonometric inverse tangent, element-wise.
541541:obj:`dpnp.abs` : Calculate the absolute value element-wise.
542542:obj:`dpnp.real` : Return the real part of the complex argument.
@@ -2703,7 +2703,7 @@ def gradient(f, *varargs, axis=None, edge_order=1):
27032703-------
27042704out : dpnp.ndarray
27052705 An array containing the element-wise imaginary component of input.
2706- If the input is a real-valued floating-point data type, the returned array has
2706+ If the input is a real-valued data type, the returned array has
27072707 the same data type. If the input is a complex floating-point
27082708 data type, the returned array has a floating-point data type
27092709 with the same floating-point precision as complex input.
@@ -3764,7 +3764,7 @@ def prod(
37643764Parameters
37653765----------
37663766x : {dpnp.ndarray, usm_ndarray}
3767- Input array, expected to have a numeric data type.
3767+ Input array, may have any data type.
37683768out : {None, dpnp.ndarray, usm_ndarray}, optional
37693769 Output array to populate.
37703770 Array must have the correct shape and the expected data type.
@@ -3779,7 +3779,7 @@ def prod(
37793779-------
37803780out : dpnp.ndarray
37813781 An array containing the element-wise real component of input.
3782- If the input is a real-valued floating-point data type, the returned array has
3782+ If the input is a real-valued data type, the returned array has
37833783 the same data type. If the input is a complex floating-point
37843784 data type, the returned array has a floating-point data type
37853785 with the same floating-point precision as complex input.
@@ -4105,7 +4105,7 @@ def real_if_close(a, tol=100):
41054105 \frac{x_i}{|x_i|} & \textrm{otherwise}
41064106 \end{cases}
41074107
4108- where :math:`|x_i|` is the absolute value of :math:`x_i`.
4108+ where :math:`|x_i|` is the absolute value of :math:`x_i`.
41094109
41104110For full documentation refer to :obj:`numpy.sign`.
41114111
@@ -4166,8 +4166,8 @@ def real_if_close(a, tol=100):
41664166input array `x`.
41674167
41684168The sign bit of a real-valued floating-point number :math:`x_i` is set whenever
4169- :math:`x_i` is either ``-0``, less than zero, or a signed ``NaN`` (i.e., a NaN
4170- value whose sign bit is ``1``).
4169+ :math:`x_i` is either ``-0``, less than zero, or a signed ``NaN``
4170+ (i.e., a ``NaN`` value whose sign bit is ``1``).
41714171
41724172For full documentation refer to :obj:`numpy.signbit`.
41734173
0 commit comments