fn
with_scattered_nan
::mlx::core::array with_scattered_nan(const ::mlx::core::array & out, const ::mlx::core::array & base, const int & idx, const ::mlx::core::array & upd, const int & axes)out (an extremum scatter of upd into base) with NaN wherever base held one or a NaN update landed, as the reference's amax and amin propagate it.