@@ -254,6 +254,10 @@ def add(
254
254
Otherwise the function will be executed sequentially on CPU.
255
255
Input array data types are limited by supported DPNP :ref:`Data types`.
256
256
257
+ Notes
258
+ -----
259
+ Equivalent to `x1` + `x2` in terms of array broadcasting.
260
+
257
261
Examples
258
262
--------
259
263
>>> import dpnp as np
@@ -784,6 +788,13 @@ def divide(
784
788
Otherwise the function will be executed sequentially on CPU.
785
789
Input array data types are limited by supported DPNP :ref:`Data types`.
786
790
791
+ Notes
792
+ -----
793
+ Equivalent to `x1` / `x2` in terms of array-broadcasting.
794
+
795
+ The ``true_divide(x1, x2)`` function is an alias for
796
+ ``divide(x1, x2)``.
797
+
787
798
Examples
788
799
--------
789
800
>>> import dpnp as np
@@ -1717,6 +1728,10 @@ def multiply(
1717
1728
Otherwise the function will be executed sequentially on CPU.
1718
1729
Input array data types are limited by supported DPNP :ref:`Data types`.
1719
1730
1731
+ Notes
1732
+ -----
1733
+ Equivalent to `x1` * `x2` in terms of array broadcasting.
1734
+
1720
1735
Examples
1721
1736
--------
1722
1737
>>> import dpnp as np
@@ -2685,6 +2700,10 @@ def subtract(
2685
2700
Otherwise the function will be executed sequentially on CPU.
2686
2701
Input array data types are limited by supported DPNP :ref:`Data types`.
2687
2702
2703
+ Notes
2704
+ -----
2705
+ Equivalent to `x1` - `x2` in terms of array broadcasting.
2706
+
2688
2707
Examples
2689
2708
--------
2690
2709
>>> import dpnp as np
@@ -2908,23 +2927,7 @@ def trapz(y1, x1=None, dx=1.0, axis=-1):
2908
2927
return call_origin (numpy .trapz , y1 , x1 , dx , axis )
2909
2928
2910
2929
2911
- def true_divide (* args , ** kwargs ):
2912
- """
2913
- Provide a true division of the inputs, element-wise.
2914
-
2915
- For full documentation refer to :obj:`numpy.true_divide`.
2916
-
2917
- See Also
2918
- --------
2919
- :obj:`dpnp.divide` : Standard division.
2920
-
2921
- Notes
2922
- -----
2923
- This function works the same as :obj:`dpnp.divide`.
2924
-
2925
- """
2926
-
2927
- return dpnp .divide (* args , ** kwargs )
2930
+ true_divide = divide
2928
2931
2929
2932
2930
2933
def trunc (
0 commit comments