{{alias}}( shape, stridesX ) Reorders ndarray dimensions and associated strides for loop interchange. The function returns an object having the following properties: - sh: ordered dimensions. - sx: array strides sorted in loop order. - idx: dimension indices sorted in loop order. For all returned arrays, the first element corresponds to the innermost loop, and the last element corresponds to the outermost loop. Parameters ---------- shape: ArrayLikeObject Array dimensions. stridesX: ArrayLikeObject Array strides. Returns ------- out: Object Loop interchange data. out.sh: Array Ordered dimensions. out.sx: Array Array strides sorted in loop order. out.idx: Array Dimension indices sorted in loop order. Examples -------- > var x = {{alias:@stdlib/ndarray/array}}( [ [ 1, 2 ], [ 3, 4 ] ] ); > var o = {{alias}}( x.shape, x.strides ) {...} See Also --------