pub fn to_array2<T: Clone>(source: Vec<Array1<T>>) -> Result<Array2<T>, Error>
Converts a Vec of 1D arrays into a 2D array.
Vec
Each Array1 in source becomes one row of the resulting Array2.
Array1
source
Array2