c_ |
Translates slice objects to concatenation along the second axis. |
r_ |
Translates slice objects to concatenation along the first axis. |
s_ |
A nicer way to build up index tuples for arrays. |
nonzero(a) |
Return the indices of the elements that are non-zero. |
where(condition, [x, y]) |
Return elements, either from x or y, depending on condition. |
indices(dimensions[, dtype]) |
Return an array representing the indices of a grid. |
ix_(*args) |
Construct an open mesh from multiple sequences. |
ogrid |
nd_grid instance which returns an open multi-dimensional “meshgrid”. |
ravel_multi_index(multi_index, dims[, mode, ...]) |
Converts a tuple of index arrays into an array of flat indices, applying boundary modes to the multi-index. |
unravel_index(indices, dims[, order]) |
Converts a flat index or array of flat indices into a tuple of coordinate arrays. |
diag_indices(n[, ndim]) |
Return the indices to access the main diagonal of an array. |
diag_indices_from(arr) |
Return the indices to access the main diagonal of an n-dimensional array. |
mask_indices(n, mask_func[, k]) |
Return the indices to access (n, n) arrays, given a masking function. |
tril_indices(n[, k]) |
Return the indices for the lower-triangle of an (n, n) array. |
tril_indices_from(arr[, k]) |
Return the indices for the lower-triangle of arr. |
triu_indices(n[, k]) |
Return the indices for the upper-triangle of an (n, n) array. |
triu_indices_from(arr[, k]) |
Return the indices for the upper-triangle of an (n, n) array. |