Function upper
Source pub fn upper<T>(input: &Array<T>, is_unit_diag: bool) -> Array<T>
Expand description
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