Function tril

Source
pub fn tril(a: impl AsRef<Array>, k: impl Into<Option<i32>>) -> Result<Array>
Expand description

Zeros the array above the given diagonal

ยงParams

  • a: input array
  • k: diagonal of the 2D array. Default to 0
  • stream: stream to execute on