@stdlib/ndarray-index-modes
List of ndarray index modes.
List of ndarray index modes.
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 in an underlying data buffer to a linear index in an array view.
Restrict an index to the interval [0,max].
Return an index given an index mode.
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.
Compute the minimum and maximum linear indices in an underlying data buffer which are accessible to an array view.
Normalize an index to the interval [0,max].
Convert subscripts to a linear index.
Return the maximum accessible index based on a set of provided strided array parameters.
Return the minimum accessible index based on a set of provided strided array parameters.