discretize.utils.ind2sub

discretize.utils.ind2sub(shape, inds)[source]

From the given shape, returns the subscripts of the given index