@stdlib/ndarray-base-sub2ind
Convert subscripts to a linear index.
Convert subscripts to a linear index.
Convert an ndarray buffer to a generic array.
Reorder ndarray dimensions and associated strides for loop interchange.
Resolve a loop block size for multi-dimensional array tiled loops.
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].
Create a zero-filled ndarray having a specified shape and data type.
Create a zero-filled ndarray having the same shape and data type as a provided ndarray.
Return the number of singleton dimensions.
Return a view of an input ndarray.
Assign element values from a broadcasted input ndarray to corresponding elements in an output ndarray view.
Return a view of an input ndarray when sliced along a specified dimension.
Return a shifted view of an input ndarray along a specific dimension.
Return a truncated view of an input ndarray along a specific dimension.
Return a shifted view of an input ndarray.
Return a truncated view of an input ndarray.
Return the stride along a specified dimension for a provided ndarray.
Return the strides of a provided ndarray.
Determine the index offset which specifies the location of the first indexed value in a multidimensional array based on a stride array.
Determine the order of a multidimensional array based on a provided stride array.