[][src]Function sss_rs::raw_share::transpose_vec_matrix

pub fn transpose_vec_matrix<T: Clone>(
    matrix: Vec<Vec<T>>
) -> Result<Vec<Vec<T>>, Error>

Transposes a Vec of Vecs if it is a valid matrix. If it is not an error is returned. @matrix: The matrix to be transposed, must be a valid matrix else an error is returned.