Add other to self in-place.
(self, other)
| 4314 | return power(other, self) |
| 4315 | |
| 4316 | def __iadd__(self, other): |
| 4317 | """ |
| 4318 | Add other to self in-place. |
| 4319 | |
| 4320 | """ |
| 4321 | m = getmask(other) |
| 4322 | if self._mask is nomask: |
| 4323 | if m is not nomask and m.any(): |
| 4324 | self._mask = make_mask_none(self.shape, self.dtype) |
| 4325 | self._mask += m |
| 4326 | else: |
| 4327 | if m is not nomask: |
| 4328 | self._mask += m |
| 4329 | other_data = getdata(other) |
| 4330 | other_data = np.where(self._mask, other_data.dtype.type(0), other_data) |
| 4331 | self._data.__iadd__(other_data) |
| 4332 | return self |
| 4333 | |
| 4334 | def __isub__(self, other): |
| 4335 | """ |
nothing calls this directly
no test coverage detected