Mathematics of Computer Graphics (continued)
Matrices
- Rectangular array of numbers
- Elements of Rn are n x 1 matrices
- Matrix multiplication
- A is an n x k matrix with entires aij
- B is a k x p matrix with entries bij
- AB is an n x p matrix with entries cij = sum(s=0,k ais * bsj)
- Properties
- Matrix multiplication is not commutative!!! AB != BA
- Matrix multiplication does distribute over addition A(B+C) = AB + AC
- Identity I where aij = 1 iff i=j, 0 otherwise