uppertriangular
In linear algebra, an n-by-n matrix A is upper triangular if all entries below the main diagonal are zero: a_ij = 0 whenever i > j. The main diagonal can contain any elements. A matrix with zeros on and below the diagonal is strictly upper triangular.
A typical example is the 3×3 matrix with nonzero elements on or above the main diagonal, such
The collection of all n×n upper triangular matrices over a field forms a subspace of the space
Key properties include: the determinant is the product of the diagonal entries; the trace is the sum
Applications include solving linear systems efficiently by back substitution, since the equations proceed from the last