upper triangular matrix

(data structure)

Definition: A matrix that is only defined at (i,j) when i ≤ j.

Generalization (I am a kind of ...)

Specialization (... is a kind of me.)
strictly upper triangular matrix, .

See also lower triangular matrix, ragged matrix.

Note: For example

i 1776

It may be more compactly represented in an array by storing entry (i,j) in location n(i-1) + j - i(i-1)/2 = (2n-i)(i-1)/2 + j one-based indexing.

Author: PEB


Go to the Dictionary of Algorithms and Data Structures home page.

If you have suggestions, corrections, or comments, please get in touch with Paul E. Black.

Entry modified 17 December 2004.
HTML page formatted Fri Mar 25 16:20:35 2011.

Cite this as:
Paul E. Black, "upper triangular matrix", in Dictionary of Algorithms and Data Structures [online], Paul E. Black, ed., U.S. National Institute of Standards and Technology. 17 December 2004. (accessed TODAY) Available from:

to NIST home page