In mathematics, a matrix is an rectangular grid or table of numerical values divided into rows and columns. Matrices, which are an important tool in areas such as linear algebra and computer graphics, are used in a number of applications, including representing and solving systems of linear equations. The Matrix ADT is defined next.
The Matrix ADT
A matrix is a collection of scalar values arranged in rows and columns as a rectangular grid of a fixed size. The elements of the matrix can be accessed by specifying a given row and column index with indices starting at 0.
|