[][src]Function arrayfire::upper

pub fn upper<T>(input: &Array<T>, is_unit_diag: bool) -> Array<T> where
    T: HasAfEnum

Create upper triangular matrix

Parameters

  • input is the input Array
  • is_unit_diag dictates if the output Array should have 1's along diagonal

Return Values

Array