From Rosetta Code
(Redirected from Matrix)

In mathematics, a matrix is a rectangular arrangement of scalars. An n × m matrix contains n rows and m columns. This example is a 3 × 4 matrix:

Many computer languages can handle matrices. Tasks in this category create matrices, or do mathematics with matrices.