Matrix

From NovaOrdis Knowledge Base
Revision as of 07:53, 28 December 2017 by Ovidiu (talk | contribs) (→‎Matrix Multiplication)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

A matrix is a two-dimensional array. Its content is organized in rows and columns.

Matrix.png

where m represents the number of rows and n represents the number of columns.

Matrix Multiplication

Two matrices can be multiplied if the number of columns of the first operand is equal with the number of rows of the second operand:

MatrixMultiplication.png

Matrix multiplication is in general not commutative.