array(int) interleave_array(array(mapping(int:mixed)) tab)
Interleave a sparse matrix.
Returns an array with offsets that describe how to shift the rows of tab so that only at most one non-zero value exists in every column.