Matrix

From NovaOrdis Knowledge Base
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.