pub fn from_vec<S: Size>(size: S, values: Vec<T>) -> Self {
        let (rows, columns) = size.dimensions();
        debug_assert_eq!(values.len(), min!(rows, columns));
        new!(rows, columns, values)
    }
/// Create a matrix from a vector.
Create a matrix from a vector.
Create a matrix from a vector .
pub fn from_vec<S: Size>(size: S, values: Vec<T>) -> Self {
        let (rows, columns) = size.dimensions();
        debug_assert_eq!(values.len(), min!(rows, columns));
        new!(rows, columns, values)
    }
pub fn from_vec < S : Size > ( size : S , values : Vec < T > ) -> Self { let ( rows , columns ) = size . dimensions ( ) ; debug_assert_eq ! ( values len ( ) min ( rows columns ) ) ; new ! ( rows columns values ) }
Create a matrix from a vector.
Create a matrix from a vector .
size
S
values
Vec<T>
size
S
values
Vec<T>