Function o1_utils::array::vec_to_boxed_array2
source · pub fn vec_to_boxed_array2<T: Clone, const N: usize, const M: usize>(
vec: Vec<Vec<T>>
) -> Box<[[T; N]; M]>
Expand description
Converts a two-dimensional vector to a constant sized two-dimensional array.