pub fn from_slice<S: Size>(size: S, values: &[T]) -> Self {
        let (rows, columns) = size.dimensions();
        debug_assert_eq!(values.len(), rows * columns);
        new!(rows, columns, values.to_vec())
    }
/// Create a matrix from a slice.
Create a matrix from a slice.
Create a matrix from a slice .
pub fn from_slice<S: Size>(size: S, values: &[T]) -> Self {
        let (rows, columns) = size.dimensions();
        debug_assert_eq!(values.len(), rows * columns);
        new!(rows, columns, values.to_vec())
    }
pub fn from_slice < S : Size > ( size : S , values : & [ T ] ) -> Self { let ( rows , columns ) = size . dimensions ( ) ; debug_assert_eq ! ( values len ( ) rows columns ) ; new ! ( rows columns values to_vec ( ) ) }
Create a matrix from a slice.
Create a matrix from a slice .
size
S
values
&[T]
size
S
values
&[T]