Performs the operation __mul__.
(self: Array, other: Union[int, float, Array], /)
| 659 | return self.__class__._new(res) |
| 660 | |
| 661 | def __mul__(self: Array, other: Union[int, float, Array], /) -> Array: |
| 662 | """ |
| 663 | Performs the operation __mul__. |
| 664 | """ |
| 665 | other = self._check_allowed_dtypes(other, "numeric", "__mul__") |
| 666 | if other is NotImplemented: |
| 667 | return other |
| 668 | self, other = self._normalize_two_args(self, other) |
| 669 | res = self._array.__mul__(other._array) |
| 670 | return self.__class__._new(res) |
| 671 | |
| 672 | def __ne__(self: Array, other: Union[int, float, bool, Array], /) -> Array: |
| 673 | """ |
nothing calls this directly
no test coverage detected