Any Matrix having Only Zero Values Either Below the Main Diagonal Or Above the Main Diagonal of the Matrix (Not Both) is called a Triangular Matrix (if it is a Square Matrix)
or a Trapezoidal Matrix (if it is a Non-Square Matrix).
Any Matrix having Only Zero Values Below the Main Diagonal of the Matrix and Atleast One Non-Zero Value Above the Main Diagonal of the Matrix is called an Upper Triangular Matrix (if it is a Square Matrix)
or a Upper Trapezoidal Matrix (if it is a Non-Square Matrix).
Following are some examples of Upper Triangular/Trapezoidal Matrices
If All the elements of the Main Diagonal are also Zero then the Matrix is called Strictly Upper Triangular/Trapezoidal Matrix.
If All the elements of the Main Diagonal are 1 then the Matrix is called Upper Uni-Triangular/Uni-Trapezoidal Matrix.
Any Matrix having Only Zero Values Above the Main Diagonal of the Matrix and Atleast One Non-Zero Value Below the Main Diagonal of the Matrix is called an Lower Triangular Matrix (if it is a Square Matrix)
or a Lower Trapezoidal Matrix (if it is a Non-Square Matrix).
Following are some examples of Lower Triangular/Trapezoidal Matrices