ndarray_
linalg
0.16.0
In ndarray_
linalg::
generate
ndarray_linalg
::
generate
Function
from_diag
Copy item path
source
pub fn from_diag<A>(d: &
[A]
) ->
Array2
<A>
where A:
Scalar
,
Expand description
construct matrix from diag