I've read about using ofdim to make multidimensional arrays in scala but what if I don't want all the arrays to be of the same size?. I'm wanting to be able to make an array of arrays of various sizes such as the following but haven't been able to find anything.
dist = [[1,2,3],
[10, 11, 13, 15, 16, 17, 19],
[25]]