Function ndarray_linalg::generate::from_diag
[−]
[src]
pub fn from_diag<A>(d: &[A]) -> Array2<A> where
A: LinalgScalar,
construct matrix from diag