| 45 | return mlx_add_item(x_, indices_, v); |
| 46 | } |
| 47 | mx::array subtract(const ScalarOrArray& v) { |
| 48 | check_initialized(); |
| 49 | return mlx_subtract_item(x_, indices_, v); |
| 50 | } |
| 51 | mx::array multiply(const ScalarOrArray& v) { |
| 52 | check_initialized(); |
| 53 | return mlx_multiply_item(x_, indices_, v); |