mlx/docs/build/html/_sources/indexing.rst
2025-06-04 01:01:48 +00:00

13 lines
306 B
ReStructuredText

.. _indexing:
Indexing Arrays
===============
.. currentmodule:: mlx.core
For the most part, indexing an MLX :obj:`array` works the same as indexing a
NumPy :obj:`numpy.ndarray`. See the `NumPy documentation
<https://numpy.org/doc/stable/user/basics.indexing.html>`_ for more details on
how that works