@@ -133,7 +133,7 @@ def __abs__(self: array, /) -> array:
133
133
134
134
135
135
.. note::
136
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.abs`.
136
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.abs`.
137
137
"""
138
138
139
139
def __add__ (self : array , other : Union [int , float , array ], / ) -> array :
@@ -179,7 +179,7 @@ def __add__(self: array, other: Union[int, float, array], /) -> array:
179
179
180
180
181
181
.. note::
182
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.add`.
182
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.add`.
183
183
"""
184
184
185
185
def __and__ (self : array , other : Union [int , bool , array ], / ) -> array :
@@ -200,7 +200,7 @@ def __and__(self: array, other: Union[int, bool, array], /) -> array:
200
200
201
201
202
202
.. note::
203
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.bitwise_and`.
203
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.bitwise_and`.
204
204
"""
205
205
206
206
def __array_namespace__ (self : array , / , * , api_version : Optional [str ] = None ) -> Any :
@@ -237,7 +237,7 @@ def __bool__(self: array, /) -> bool:
237
237
238
238
def __dlpack__ (self : array , / , * , stream : Optional [Union [int , Any ]] = None ) -> PyCapsule :
239
239
"""
240
- Exports the array for consumption by :func:`signatures.creation_functions.from_dlpack` as a DLPack capsule.
240
+ Exports the array for consumption by :func:`~ signatures.creation_functions.from_dlpack` as a DLPack capsule.
241
241
242
242
Parameters
243
243
----------
@@ -292,7 +292,7 @@ def __dlpack__(self: array, /, *, stream: Optional[Union[int, Any]] = None) -> P
292
292
293
293
def __dlpack_device__ (self : array , / ) -> Tuple [Enum , int ]:
294
294
"""
295
- Returns device type and device ID in DLPack format. Meant for use within :func:`signatures.creation_functions.from_dlpack`.
295
+ Returns device type and device ID in DLPack format. Meant for use within :func:`~ signatures.creation_functions.from_dlpack`.
296
296
297
297
Parameters
298
298
----------
@@ -334,7 +334,7 @@ def __eq__(self: array, other: Union[int, float, bool, array], /) -> array:
334
334
335
335
336
336
.. note::
337
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.equal`.
337
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.equal`.
338
338
"""
339
339
340
340
def __float__ (self : array , / ) -> float :
@@ -409,7 +409,7 @@ def __floordiv__(self: array, other: Union[int, float, array], /) -> array:
409
409
410
410
411
411
.. note::
412
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.floor_divide`.
412
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.floor_divide`.
413
413
"""
414
414
415
415
def __ge__ (self : array , other : Union [int , float , array ], / ) -> array :
@@ -430,7 +430,7 @@ def __ge__(self: array, other: Union[int, float, array], /) -> array:
430
430
431
431
432
432
.. note::
433
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.greater_equal`.
433
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.greater_equal`.
434
434
"""
435
435
436
436
def __getitem__ (self : array , key : Union [int , slice , ellipsis , Tuple [Union [int , slice , ellipsis ], ...], array ], / ) -> array :
@@ -468,7 +468,7 @@ def __gt__(self: array, other: Union[int, float, array], /) -> array:
468
468
469
469
470
470
.. note::
471
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.greater`.
471
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.greater`.
472
472
"""
473
473
474
474
def __index__ (self : array , / ) -> int :
@@ -520,7 +520,7 @@ def __invert__(self: array, /) -> array:
520
520
521
521
522
522
.. note::
523
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.bitwise_invert`.
523
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.bitwise_invert`.
524
524
"""
525
525
526
526
def __le__ (self : array , other : Union [int , float , array ], / ) -> array :
@@ -541,7 +541,7 @@ def __le__(self: array, other: Union[int, float, array], /) -> array:
541
541
542
542
543
543
.. note::
544
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.less_equal`.
544
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.less_equal`.
545
545
"""
546
546
547
547
def __lshift__ (self : array , other : Union [int , array ], / ) -> array :
@@ -562,7 +562,7 @@ def __lshift__(self: array, other: Union[int, array], /) -> array:
562
562
563
563
564
564
.. note::
565
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.bitwise_left_shift`.
565
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.bitwise_left_shift`.
566
566
"""
567
567
568
568
def __lt__ (self : array , other : Union [int , float , array ], / ) -> array :
@@ -583,7 +583,7 @@ def __lt__(self: array, other: Union[int, float, array], /) -> array:
583
583
584
584
585
585
.. note::
586
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.less`.
586
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.less`.
587
587
"""
588
588
589
589
def __matmul__ (self : array , other : array , / ) -> array :
@@ -614,7 +614,7 @@ def __matmul__(self: array, other: array, /) -> array:
614
614
615
615
616
616
.. note::
617
- Results must equal the results returned by the equivalent function :func:`signatures.linear_algebra_functions.matmul`.
617
+ Results must equal the results returned by the equivalent function :func:`~ signatures.linear_algebra_functions.matmul`.
618
618
619
619
**Raises**
620
620
@@ -646,7 +646,7 @@ def __mod__(self: array, other: Union[int, float, array], /) -> array:
646
646
647
647
648
648
.. note::
649
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.remainder`.
649
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.remainder`.
650
650
"""
651
651
652
652
def __mul__ (self : array , other : Union [int , float , array ], / ) -> array :
@@ -685,7 +685,7 @@ def __mul__(self: array, other: Union[int, float, array], /) -> array:
685
685
686
686
687
687
.. note::
688
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.multiply`.
688
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.multiply`.
689
689
"""
690
690
691
691
def __ne__ (self : array , other : Union [int , float , bool , array ], / ) -> array :
@@ -706,7 +706,7 @@ def __ne__(self: array, other: Union[int, float, bool, array], /) -> array:
706
706
707
707
708
708
.. note::
709
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.not_equal`.
709
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.not_equal`.
710
710
"""
711
711
712
712
def __neg__ (self : array , / ) -> array :
@@ -728,7 +728,7 @@ def __neg__(self: array, /) -> array:
728
728
729
729
730
730
.. note::
731
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.negative`.
731
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.negative`.
732
732
"""
733
733
734
734
def __or__ (self : array , other : Union [int , bool , array ], / ) -> array :
@@ -749,7 +749,7 @@ def __or__(self: array, other: Union[int, bool, array], /) -> array:
749
749
750
750
751
751
.. note::
752
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.bitwise_or`.
752
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.bitwise_or`.
753
753
"""
754
754
755
755
def __pos__ (self : array , / ) -> array :
@@ -768,7 +768,7 @@ def __pos__(self: array, /) -> array:
768
768
769
769
770
770
.. note::
771
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.positive`.
771
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.positive`.
772
772
"""
773
773
774
774
def __pow__ (self : array , other : Union [int , float , array ], / ) -> array :
@@ -823,7 +823,7 @@ def __pow__(self: array, other: Union[int, float, array], /) -> array:
823
823
824
824
825
825
.. note::
826
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.pow`.
826
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.pow`.
827
827
"""
828
828
829
829
def __rshift__ (self : array , other : Union [int , array ], / ) -> array :
@@ -844,7 +844,7 @@ def __rshift__(self: array, other: Union[int, array], /) -> array:
844
844
845
845
846
846
.. note::
847
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.bitwise_right_shift`.
847
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.bitwise_right_shift`.
848
848
"""
849
849
850
850
def __setitem__ (self : array , key : Union [int , slice , ellipsis , Tuple [Union [int , slice , ellipsis ], ...], array ], value : Union [int , float , bool , array ], / ) -> None :
@@ -888,7 +888,7 @@ def __sub__(self: array, other: Union[int, float, array], /) -> array:
888
888
889
889
890
890
.. note::
891
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.subtract`.
891
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.subtract`.
892
892
"""
893
893
894
894
def __truediv__ (self : array , other : Union [int , float , array ], / ) -> array :
@@ -941,7 +941,7 @@ def __truediv__(self: array, other: Union[int, float, array], /) -> array:
941
941
942
942
943
943
.. note::
944
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.divide`.
944
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.divide`.
945
945
"""
946
946
947
947
def __xor__ (self : array , other : Union [int , bool , array ], / ) -> array :
@@ -962,7 +962,7 @@ def __xor__(self: array, other: Union[int, bool, array], /) -> array:
962
962
963
963
964
964
.. note::
965
- Element-wise results must equal the results returned by the equivalent element-wise function :func:`signatures.elementwise_functions.bitwise_xor`.
965
+ Element-wise results must equal the results returned by the equivalent element-wise function :func:`~ signatures.elementwise_functions.bitwise_xor`.
966
966
"""
967
967
968
968
def to_device (self : array , device : Device , / , * , stream : Optional [Union [int , Any ]] = None ) -> array :
0 commit comments