(data structure)

Definition: A two-dimensional array. By convention, the first index is the row, and the second index is the column.

Specialization (... is a kind of me.)
square matrix, rectangular matrix, sparse matrix, lower triangular matrix, upper triangular matrix, ragged matrix, uniform matrix.

Note: Often implemented as an array.

Author: PEB


(Fortran), (C++)
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:34 2011.

Cite this as:
Paul E. Black, "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