A matrix is a rectangular array of numbers or other mathematical objects for which operations such as addition and multiplication are defined. Most of this article focuses on real and complex matrices that is matrices whose elements are real numbers or complex numbers. Most commonly a matrix over a field f is a rectangular array of scalars each of which is a member of f. linear algebra and its applications 3rd edition