@@ -42,23 +42,6 @@ See Also:
42
42
43
43
'''
44
44
45
- __iadd__ = '''
46
- Calculates the in-place sum for each element of an array instance with the
47
- respective element of the array `other`.
48
-
49
- Args:
50
- other: addend array. Must be compatible with `self` (see Broadcasting).
51
- Should have a numeric data type.
52
-
53
- Returns:
54
- Self: `self`, after performing the in-place addition. The returned
55
- array must have a data type determined by Type Promotion Rules.
56
-
57
- See Also:
58
- array_api_typing.Add
59
-
60
- '''
61
-
62
45
__radd__ = '''
63
46
Calculates the sum for each element of the array `other` with the respective
64
47
element of an array instance.
@@ -97,23 +80,6 @@ See Also:
97
80
98
81
'''
99
82
100
- __isub__ = '''
101
- Calculates the in-place difference for each element of an array instance
102
- with the respective element of the array `other`.
103
-
104
- Args:
105
- other: subtrahend array. Must be compatible with `self` (see
106
- Broadcasting). Should have a numeric data type.
107
-
108
- Returns:
109
- Self: `self`, after performing the in-place subtraction. The returned
110
- array must have a data type determined by Type Promotion Rules.
111
-
112
- See Also:
113
- array_api_typing.Subtract
114
-
115
- '''
116
-
117
83
__rsub__ = '''
118
84
Calculates the difference for each element of the array `other` with the
119
85
respective element of an array instance.
@@ -152,23 +118,6 @@ See Also:
152
118
153
119
'''
154
120
155
- __imul__ = '''
156
- Calculates the in-place product for each element of an array instance with
157
- the respective element of the array `other`.
158
-
159
- Args:
160
- other: multiplicand array. Must be compatible with `self` (see
161
- Broadcasting). Should have a numeric data type.
162
-
163
- Returns:
164
- Self: `self`, after performing the in-place multiplication. The returned
165
- array must have a data type determined by Type Promotion Rules.
166
-
167
- See Also:
168
- array_api_typing.Multiply
169
-
170
- '''
171
-
172
121
__rmul__ = '''
173
122
Calculates the product for each element of the array `other` with the
174
123
respective element of an array instance.
@@ -204,23 +153,6 @@ See Also:
204
153
205
154
'''
206
155
207
- __itruediv__ = '''
208
- Calculates the in-place quotient for each element of an array instance with
209
- the respective element of the array `other`.
210
-
211
- Args:
212
- other: divisor array. Must be compatible with `self` (see Broadcasting).
213
- Should have a numeric data type.
214
-
215
- Returns:
216
- Self: `self`, after performing the in-place true division. The returned
217
- array must have a data type determined by Type Promotion Rules.
218
-
219
- See Also:
220
- array_api_typing.TrueDiv
221
-
222
- '''
223
-
224
156
__rtruediv__ = '''
225
157
Calculates the quotient for each element of the array `other` with the
226
158
respective element of an array instance.
@@ -255,24 +187,6 @@ See Also:
255
187
256
188
'''
257
189
258
- __ifloordiv__ = '''
259
- Calculates the in-place floor division for each element of an array instance
260
- with the respective element of the array `other`.
261
-
262
- Args:
263
- other: divisor array. Must be compatible with `self` (see Broadcasting).
264
- Should have a numeric data type.
265
-
266
- Returns:
267
- Self: `self`, after performing the in-place floor division. The
268
- returned array must have a data type determined by Type Promotion
269
- Rules.
270
-
271
- See Also:
272
- array_api_typing.FloorDiv
273
-
274
- '''
275
-
276
190
__rfloordiv__ = '''
277
191
Calculates the floor division for each element of the array `other` with the
278
192
respective element of an array instance.
@@ -291,24 +205,6 @@ See Also:
291
205
292
206
'''
293
207
294
- __imod__ = '''
295
- Calculates the in-place remainder for each element of an array instance with
296
- the respective element of the array `other`.
297
-
298
- Args:
299
- other: divisor array. Must be compatible with `self` (see Broadcasting).
300
- Should have a numeric data type.
301
-
302
- Returns:
303
- Self: `self`, after performing the in-place modulo operation. The
304
- returned array must have a data type determined by Type Promotion
305
- Rules.
306
-
307
- See Also:
308
- array_api_typing.Remainder
309
-
310
- '''
311
-
312
208
__mod__ = '''
313
209
Evaluates `self_i % other_i` for each element of an array instance with the
314
210
respective element of the array `other`.
@@ -362,24 +258,6 @@ Returns:
362
258
363
259
'''
364
260
365
- __ipow__ = '''
366
- Calculates the in-place power for each element of an array instance with the
367
- respective element of the array `other`.
368
-
369
- Args:
370
- other: exponent array. Must be compatible with `self` (see Broadcasting).
371
- Should have a numeric data type.
372
-
373
- Returns:
374
- Self: `self`, after performing the in-place power operation. The
375
- returned array must have a data type determined by Type Promotion
376
- Rules.
377
-
378
- See Also:
379
- array_api_typing.Power
380
-
381
- '''
382
-
383
261
__rpow__ = '''
384
262
Calculates the power for each element of the array `other` raised to the
385
263
respective element of an array instance.
0 commit comments