Multiply self by other in-place.
(self, other)
| 4435 | return self |
| 4436 | |
| 4437 | def __imul__(self, other): |
| 4438 | """ |
| 4439 | Multiply self by other in-place. |
| 4440 | |
| 4441 | """ |
| 4442 | m = getmask(other) |
| 4443 | if self._mask is nomask: |
| 4444 | if m is not nomask and m.any(): |
| 4445 | self._mask = make_mask_none(self.shape, self.dtype) |
| 4446 | self._mask += m |
| 4447 | elif m is not nomask: |
| 4448 | self._mask += m |
| 4449 | other_data = getdata(other) |
| 4450 | other_data = np.where(self._mask, other_data.dtype.type(1), other_data) |
| 4451 | self._data.__imul__(other_data) |
| 4452 | return self |
| 4453 | |
| 4454 | def __ifloordiv__(self, other): |
| 4455 | """ |
nothing calls this directly
no test coverage detected