Skip to main content

unflatten_matrix

Function unflatten_matrix 

Source
pub fn unflatten_matrix<T: MatrixValue>(
    elems: &[T],
    index_domains: &[T::Dom],
    strides: &[usize],
) -> T
Expand description

“Un-flatten” a slice of elements into a Matrix with the given index domains