@stdlib/ndarray-base-sub2ind
Convert subscripts to a linear index.
Convert subscripts to a linear index.
Convert a linear index in an array view to a linear index in an underlying data buffer.
Wrap an index on the interval [0,max].
Convert a linear index to an array of subscripts.
List of ndarray index modes.
Create an iterator which returns [index, column] pairs for each column in a matrix (or stack of matrices).
Convert a linear index to an array of subscripts.
Compute the maximum linear index in an underlying data buffer accessible to an array view.
Compute the minimum linear index in an underlying data buffer accessible to an array view.
Return the index offset specifying the underlying buffer index of the first iterated ndarray element.
Return the next Cartesian index (i.e., set of subscripts/dimension indices).
Normalize an index to the interval [0,max].
Return the index offset specifying the underlying buffer index of the first iterated ndarray element.
Create an iterator which returns [index, value] pairs for each element in a provided ndarray.
Create an iterator which returns indices for use indexing into an ndarray having a specified shape.
Create an iterator which returns [index, matrix] pairs for each matrix in a stack of matrices.
Create an iterator which returns [index, row] pairs for each row in a matrix (or stack of matrices).
Create an iterator which returns individual elements from a provided ndarray.
Convert subscripts to a linear index.
Find the index of the first element having the maximum absolute value.