Indexing RoutinesΒΆ
cupy.c_ |
|
cupy.r_ |
|
cupy.nonzero |
Return the indices of the elements that are non-zero. |
cupy.where |
Return elements, either from x or y, depending on condition. |
cupy.indices |
Returns an array representing the indices of a grid. |
cupy.ix_ |
Construct an open mesh from multiple sequences. |
cupy.unravel_index |
Converts array of flat indices into a tuple of coordinate arrays. |
cupy.take |
Takes elements of an array at specified indices along an axis. |
cupy.choose |
|
cupy.diag |
Returns a diagonal or a diagonal array. |
cupy.diagonal |
Returns specified diagonals. |
cupy.fill_diagonal |
Fills the main diagonal of the given array of any dimensionality. |