Skip to content

Commit e3b223b

Browse files
committed
Update docstring of cbrt function
1 parent 1984f19 commit e3b223b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dpnp/dpnp_iface_trigonometric.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -695,14 +695,14 @@ def _get_accumulation_res_dt(a, dtype):
695695

696696

697697
_CBRT_DOCSTRING = """
698-
Computes positive cube-root for each element `x_i` for input array `x`.
698+
Computes positive cube-root for each element :math:`x_i` for input array `x`.
699699
700700
For full documentation refer to :obj:`numpy.cbrt`.
701701
702702
Parameters
703703
----------
704704
x : {dpnp.ndarray, usm_ndarray}
705-
Input array, expected to have a real-valued data type.
705+
Input array, expected to have a real floating-point data type.
706706
out : {None, dpnp.ndarray, usm_ndarray}, optional
707707
Output array to populate.
708708
Array must have the correct shape and the expected data type.
@@ -717,8 +717,8 @@ def _get_accumulation_res_dt(a, dtype):
717717
-------
718718
out : dpnp.ndarray
719719
An array containing the element-wise positive cube-root.
720-
The data type of the returned array is determined by
721-
the Type Promotion Rules.
720+
The data type of the returned array is determined by the Type Promotion
721+
Rules.
722722
723723
Limitations
724724
-----------

0 commit comments

Comments
 (0)