pub fn tril_device(
a: impl AsRef<Array>,
k: impl Into<Option<i32>>,
stream: impl AsRef<Stream>,
) -> Result<Array>
Expand description
Zeros the array above the given diagonal
ยงParams
a
: input arrayk
: diagonal of the 2D array. Default to0
stream
: stream to execute on