Definition: A dense array is an array where all the dimensions are ``densely packed,'' or, in terms of memory addressing, there are no ``spaces'' between array elements. For example, if a one-dimensional SIDL array of 10 elements is created, it will be densely packed. However, if a slice of the array is taken with a stride of 2, the resulting array will use the same data as the original array. However, the new array will be only five elements long, and will only consist of the even elements of the original array. This is not densely packed. Example:
Array 1: 0 1 2 3 4 5 6 7 8 9
Array 2: 0 - 2 - 4 - 6 - 8 -