function isUT = is_upper_triangular(A) ## Returns true if ``A`` is upper triangular, false otherwise. isUT = isequal(A, triu(A)); end