Select the first n elements for the dimension.
Dimension to slice.
count of elements for the dimension
ndslice with length!dimension equal to n.
import mir.ndslice.topology : iota; auto sl = iota(3, 4); assert(sl.selectFront!1(2) == sl[0 .. $, 0 .. 2]);
See Implementation
Select the first n elements for the dimension.