contiguous uninitialized n-dimensional slice
import mir.ndslice.slice: Slice; auto tensor = uninitAlignedSlice!double([5, 6, 7], 64); tensor[] = 0; assert(tensor.length == 5); assert(tensor.elementCount == 5 * 6 * 7); assert(cast(size_t)(tensor.ptr) % 64 == 0); static assert(is(typeof(tensor) == Slice!(double*, 3)));
GC-Allocates an uninitialized aligned an n-dimensional slice.