pub fn diag_device( a: impl AsRef<Array>, k: impl Into<Option<i32>>, stream: impl AsRef<Stream>, ) -> Result<Array>
See Array::diag
Array::diag