array#
Module with utility functions for array-related functions and generating array indices.
Functions
Flatten an array and return a tuple of axis indices corresponding to their position along that axis. |
|
Return an index (unsigned) from a provided axis integer (signed) |
|
Generate tuples containing indices for iteratively slicing a |
|
Generate lists containing indices for indexing square arrays. |
|
Generate lists containing indices for indexing upper triangle arrays excluding elements along the diagonal. |
|
Generate lists containing indices for indexing upper triangle arrays including elements along the diagonal. |
|
Generate lists containing indices for cross maps. |