Convert a linear index i = d_1 s_1 ... s_n + d_2 s_2 ... s_n + d_n-1 s_n + d_n into a multidimensional index (d_1, d_2, ..., d_n)
See Implementation
Convert a linear index i = d_1 s_1 ... s_n + d_2 s_2 ... s_n + d_n-1 s_n + d_n into a multidimensional index (d_1, d_2, ..., d_n)