A field. The length of the array should be equal to or less then the product of lengths.
A list of lengths for each dimension.
n-dimensional slice
Creates an 1-dimensional slice over a field, array, or random access range.
import mir.ndslice.topology : iota; auto slice = 10.iota.slicedField; assert(slice.length == 10);
Creates an n-dimensional slice-shell over a field.