Function numrs::matrix::from_elems
[−]
[src]
pub fn from_elems<T: Number>(rows: usize, cols: usize, elems: &[T]) -> Matrix<T>
Creates a Matrix
with dimensions rows x cols
from the elements of the
slice elems
.