Class defining multi-dimensional subset of an array.
The slice class represents a multi-dimensional subset of an array, specified by three parameter sets: start offset, size array, and stride array. The start offset is the index of the first element of the array that is part of the subset. The size and stride array describe each dimension of the slice. Size is the number of elements in that dimension, and stride is the distance in the array between successive elements in that dimension. Each dimension's size and stride is taken to begin at an array element described by the previous dimension. The size array and stride array must be the same size.
For example, if you have offset==3, stride==11, size==3, stride==3, then slice[0,0]==array, slice[0,1]==array, slice[0,2]==array, slice[1,0]==array, slice[1,1]==array, slice[1,2]==array.