You can use the method SelectMany
to "flatten" lists. Basically if you have a list of lists, it will concatenate all the lists into one. In this case you have a List<double[][]>
so it's nested three times.
List<double[]> flattenedList = myList.SelectMany(x => x.Select(y => y).ToArray()).ToList();
Will do it for you. The first Select
doesn't really do anything, I like to think of it like it's a for loop, read it as "for each x do x.SelectMany" it's needed to get down one layer to the double[][]
elements since those are really what you're flattening.