Let
sub_strides be
an
array<SubExtents::index_type, SubExtents::rank()>
such that for each rank index
k of
extents()
for which the type of
slices..[k] is not a collapsing slice type,
sub_strides[MAP_RANK(slices,k)] equals:
- stride(k) * s.stride
if the type of s is a specialization of strided_slice and
s.stride < s.extent is true,
where s is slices..[k];
- otherwise, stride(k).