Indexing routines#
See also
basics.indexing
Generating index arrays#
Translates slice objects to concatenation along the second axis. |
|
Translates slice objects to concatenation along the first axis. |
|
|
Return the indices of the elements that are non-zero. |
|
Return elements chosen from x or y depending on condition. |
|
Return an array representing the indices of a grid. |
nd_grid instance which returns an open multi-dimensional "meshgrid". |
|
|
Converts a flat index or array of flat indices into a tuple of coordinate arrays. |
Indexing-like operations#
|
Take elements from an array along an axis. |
|
Construct an array from an index array and a list of arrays to choose from. |
|
Return selected slices of an array along given axis. |
|
Extract a diagonal or construct a diagonal array. |
|
This module supports asynchronous I/O on multiple file descriptors. |
Inserting data into arrays#
|
Fill the main diagonal of the given array of any dimensionality. |
Iterating over arrays#
|
An N-dimensional iterator object to index arrays. |