**⚠️ Warning: This is a draft ⚠️**

This means it might contain formatting issues, incorrect code, conceptual problems, or other severe issues.

If you want to help to improve and eventually enable this page, please fork RosettaGit's repository and open a merge request on GitHub.

[[Category:Mathematical operations]] [[Category:Mathematics]] In mathematics, a [[wp:matrix (mathematics)|matrix]] is a rectangular arrangement of scalars. An ''n'' × ''m'' matrix contains ''n'' rows and ''m'' columns. This example is a 3 × 4 matrix:

$M\; =\; \backslash begin\{bmatrix\}\; 2\; \&\; 0\; \&\; -5\; \&\; -1\; \backslash \; -3\; \&\; -2\; \&\; -4\; \&\; 7\; \backslash \; -1\; \&\; -3\; \&\; 0\; \&\; -6\; \backslash end\{bmatrix\}$

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