A *multidimensional index space* is
a Cartesian product of integer intervals.

Each interval can be represented by a half-open range ,
where and are the lower and upper bounds of
the dimension.

The *size of a multidimensional index space* is
the product of for each dimension i
if its rank is greater than 0, and 1 otherwise.