@@ -220,7 +220,7 @@ def add(
220220 Parameters `x1` and `x2` are supported as either scalar, :class:`dpnp.ndarray`
221221 or :class:`dpctl.tensor.usm_ndarray`, but both `x1` and `x2` can not be scalars at the same time.
222222 Parameters `where`, `dtype` and `subok` are supported with their default values.
223- Keyword arguments `` kwargs` ` are currently unsupported.
223+ Keyword arguments `kwargs` are currently unsupported.
224224 Otherwise the function will be executed sequentially on CPU.
225225 Input array data types are limited by supported DPNP :ref:`Data types`.
226226
@@ -626,14 +626,14 @@ def divide(
626626 Returns
627627 -------
628628 y : dpnp.ndarray
629- The quotient `` x1/x2` `, element-wise.
629+ The quotient `x1/x2`, element-wise.
630630
631631 Limitations
632632 -----------
633633 Parameters `x1` and `x2` are supported as either scalar, :class:`dpnp.ndarray`
634634 or :class:`dpctl.tensor.usm_ndarray`, but both `x1` and `x2` can not be scalars at the same time.
635- Parameters `out`, ` where`, `dtype` and `subok` are supported with their default values.
636- Keyword arguments `` kwargs` ` are currently unsupported.
635+ Parameters `where`, `dtype` and `subok` are supported with their default values.
636+ Keyword arguments `kwargs` are currently unsupported.
637637 Otherwise the function will be executed sequentially on CPU.
638638 Input array data types are limited by supported DPNP :ref:`Data types`.
639639
@@ -823,7 +823,7 @@ def floor_divide(
823823
824824 See Also
825825 --------
826- :obj:`dpnp.reminder ` : Remainder complementary to floor_divide.
826+ :obj:`dpnp.remainder ` : Remainder complementary to floor_divide.
827827 :obj:`dpnp.divide` : Standard division.
828828 :obj:`dpnp.floor` : Round a number to the nearest integer toward minus infinity.
829829 :obj:`dpnp.ceil` : Round a number to the nearest integer toward infinity.
@@ -910,7 +910,7 @@ def fmod(x1, x2, dtype=None, out=None, where=True, **kwargs):
910910
911911 See Also
912912 --------
913- :obj:`dpnp.reminder ` : Remainder complementary to floor_divide.
913+ :obj:`dpnp.remainder ` : Remainder complementary to floor_divide.
914914 :obj:`dpnp.divide` : Standard division.
915915
916916 Examples
@@ -1137,16 +1137,36 @@ def minimum(x1, x2, dtype=None, out=None, where=True, **kwargs):
11371137 )
11381138
11391139
1140- def mod (* args , ** kwargs ):
1140+ def mod (
1141+ x1 ,
1142+ x2 ,
1143+ / ,
1144+ out = None ,
1145+ * ,
1146+ where = True ,
1147+ order = "K" ,
1148+ dtype = None ,
1149+ subok = True ,
1150+ ** kwargs ,
1151+ ):
11411152 """
11421153 Compute element-wise remainder of division.
11431154
11441155 For full documentation refer to :obj:`numpy.mod`.
11451156
1157+ Limitations
1158+ -----------
1159+ Parameters `x1` and `x2` are supported as either scalar, :class:`dpnp.ndarray`
1160+ or :class:`dpctl.tensor.usm_ndarray`, but both `x1` and `x2` can not be scalars at the same time.
1161+ Parameters `where`, `dtype` and `subok` are supported with their default values.
1162+ Keyword arguments `kwargs` are currently unsupported.
1163+ Otherwise the function will be executed sequentially on CPU.
1164+ Input array data types are limited by supported DPNP :ref:`Data types`.
1165+
11461166 See Also
11471167 --------
11481168 :obj:`dpnp.fmod` : Calculate the element-wise remainder of division
1149- :obj:`dpnp.reminder ` : Remainder complementary to floor_divide.
1169+ :obj:`dpnp.remainder ` : Remainder complementary to floor_divide.
11501170 :obj:`dpnp.divide` : Standard division.
11511171
11521172 Notes
@@ -1155,7 +1175,16 @@ def mod(*args, **kwargs):
11551175
11561176 """
11571177
1158- return dpnp .remainder (* args , ** kwargs )
1178+ return dpnp .remainder (
1179+ x1 ,
1180+ x2 ,
1181+ out = out ,
1182+ where = where ,
1183+ order = order ,
1184+ dtype = dtype ,
1185+ subok = subok ,
1186+ ** kwargs ,
1187+ )
11591188
11601189
11611190def modf (x1 , ** kwargs ):
@@ -1602,18 +1631,20 @@ def remainder(
16021631
16031632 Limitations
16041633 -----------
1605- Parameters `` x1`` and `` x2`` are supported as either :obj :`dpnp.ndarray`,
1606- :class:`dpctl.tensor.usm_ndarray` or scalar .
1607- Parameters `where`, `dtype` and `subok` are supported with their default values.
1608- Keyword arguments `kwargs` are currently unsupported.
1609- Otherwise the functions will be executed sequentially on CPU.
1610- Input array data types are limited by supported DPNP :ref:`Data types`.
1634+ Parameters `x1` and `x2` are supported as either scalar, :class :`dpnp.ndarray`
1635+ or :class:`dpctl.tensor.usm_ndarray`, but both `x1` and `x2` can not be scalars at the same time .
1636+ Parameters `where`, `dtype` and `subok` are supported with their default values.
1637+ Keyword arguments `kwargs` are currently unsupported.
1638+ Otherwise the function will be executed sequentially on CPU.
1639+ Input array data types are limited by supported DPNP :ref:`Data types`.
16111640
16121641 See Also
16131642 --------
1614- :obj:`dpnp.fmod` : Calculate the element-wise remainder of division.
1615- :obj:`dpnp.divide` : Standard division.
1616- :obj:`dpnp.floor` : Round a number to the nearest integer toward minus infinity.
1643+ :obj:`dpnp.fmod` : Calculate the element-wise remainder of division.
1644+ :obj:`dpnp.divide` : Standard division.
1645+ :obj:`dpnp.floor` : Round a number to the nearest integer toward minus infinity.
1646+ :obj:`dpnp.floor_divide` : Compute the largest integer smaller or equal to the division of the inputs.
1647+ :obj:`dpnp.mod` : Calculate the element-wise remainder of division.
16171648
16181649 Example
16191650 -------
@@ -1718,8 +1749,8 @@ def subtract(
17181749 -----------
17191750 Parameters `x1` and `x2` are supported as either scalar, :class:`dpnp.ndarray`
17201751 or :class:`dpctl.tensor.usm_ndarray`, but both `x1` and `x2` can not be scalars at the same time.
1721- Parameters `out`, ` where`, `dtype` and `subok` are supported with their default values.
1722- Keyword arguments `` kwargs` ` are currently unsupported.
1752+ Parameters `where`, `dtype` and `subok` are supported with their default values.
1753+ Keyword arguments `kwargs` are currently unsupported.
17231754 Otherwise the function will be executed sequentially on CPU.
17241755 Input array data types are limited by supported DPNP :ref:`Data types`.
17251756
0 commit comments