List of lengths for each dimension.
n-dimensional slice
import mir.ndslice.slice: Slice; import mir.rc.array: RCI; auto tensor = uninitRCslice!int(5, 6, 7); tensor[] = 1; assert(tensor.length == 5); assert(tensor.elementCount == 5 * 6 * 7); static assert(is(typeof(tensor) == Slice!(RCI!int, 3)));
Allocates an n-dimensional reference-counted (thread-safe) slice without memory initialisation.