Returns: A value
ext of type
SubExtents such that
for each rank index
k of
extents<IndexType, Extents...>,
where the type of
slices...[k] is not a collapsing slice type,
ext.extent(MAP_RANK(slices, k))
equals the following,
where
σk denotes
slices...[k]:
- σk.extent == 0 ? 0 : 1 + (σk.extent - 1) / σk.stride
if the type of σk is a specialization of strided_slice,
- otherwise,
U−L, where [L, U) is the submdspan slice range
of σk for the kth extent of src.