Indexing Routines¶
The following tables show indexing routines provided by NLCPy.
Generating Index Arrays¶
Returns the indices of the elements that are non-zero. |
|
Returns elements chosen from x or y depending on condition. |
Indexing-like Operations¶
Extracts a diagonal or constructs a diagonal array. |
|
Returns specified diagonals. |
|
Takes elements from an array along an axis. |