[−][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
inputis the input Arrayis_unit_diagdictates if the output Array should have 1's along diagonal
Return Values
Array