is.lower.tri function

Check if a matrix is lower or upper triangular