mlx_meshgrid function

  1. @Native<Int Function(Pointer<mlx_vector_array>, mlx_vector_array, Bool, Pointer<Char>, mlx_stream)>(ffi.Pointer<mlx_vector_array>, mlx_vector_array, ffi.Bool, ffi.Pointer<ffi.Char>, mlx_stream)>()
int mlx_meshgrid(
  1. Pointer<mlx_vector_array> res,
  2. mlx_vector_array arrays,
  3. bool sparse,
  4. Pointer<Char> indexing,
  5. mlx_stream s,
)

Implementation

@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<mlx_vector_array>,
    mlx_vector_array,
    ffi.Bool,
    ffi.Pointer<ffi.Char>,
    mlx_stream,
  )
>()
external int mlx_meshgrid(
  ffi.Pointer<mlx_vector_array> res,
  mlx_vector_array arrays,
  bool sparse,
  ffi.Pointer<ffi.Char> indexing,
  mlx_stream s,
);