Obtain cartesian indices from dimensions only

What about:

CartesianIndices((2,4,3))[5]

?

3 Likes