Skip to main content

to_array2

Function to_array2 

Source
pub fn to_array2<T: Clone>(source: Vec<Array1<T>>) -> Result<Array2<T>, Error>
Expand description

Converts a Vec of 1D arrays into a 2D array.

Each Array1 in source becomes one row of the resulting Array2.