concatenateTo1DArray

Converts the 2-D array to a 1-D array by processing the source src array row-wise and concatenating the rows. For example if the data is organized as follows:

1 2 3 4 5 6 7 8 9

Then the resulting array will be (1,2,3,4,5,6,7,8,9). In general the source array may be ragged.