Matrix Maths

Matrix Multiplication

C[i][j] = row i of a dot product row b of b[j]

Screen%20Shot%202014-08-27%20at%201.16.24%20PM.png

NB the above is the dot product formula; Sum of the multiples of each element in two vectors:

$va \cdot vb = \sum\limits_{i=0}^n va[i] * vb[i]$

Matrix addition

$c[i][j] = a[i][j] + b[i][j]$