linalg:slice
(linalg:slice array specs)
Basic numpy slicing -- x[i0:j0:k0, i1:j1, ...] -- spelled as a list with one spec per axis. A spec is either nil (leave the axis whole) or (start end) / (start end step). A negative index counts from the end, nil in the start or end position means "from the beginning" / "to the end", a negative step walks the axis backwards, and a missing trailing spec leaves that axis whole. Every axis is kept, exactly as numpy's x[:, 0:3] keeps both; to take one slice and drop its axis, use linalg:row. The result is a fresh array with the input's element width.