Indexing Routines
The following tables show indexing routines provided by NLCPy.
Generating Index Arrays
Returns the indices to access the main diagonal of an array. |
|
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. |
|
Returns an array drawn from elements in choicelist, depending on conditions. |
|
Takes elements from an array along an axis. |
Inserting data into arrays
Fills the main diagonal of the given array of any dimensionality. |