mlx_array_set_complex function
Set array to a complex scalar.
Implementation
@ffi.Native<ffi.Int Function(ffi.Pointer<mlx_array>, ffi.Float, ffi.Float)>()
external int mlx_array_set_complex(
ffi.Pointer<mlx_array> arr,
double real_val,
double imag_val,
);