Chapter 5,

 <  Day Day Up  >  

Chapter 5, "Matrix Operations"

Equal Matrices

Two matrices are equal if

  • Both matrices have equal dimensions.

  • All corresponding entries are equal.

Adding Matrices

For two matrices of the same size , add the corresponding entries.

Subtracting Matrices

For two matrices of the same size, subtract the corresponding entries.

Scalar Multiplication

graphics/ap01equ15.gif

for any scalar value c and any size matrix A.

Multiplying Two 2x2 Matrices

graphics/ap01equ16.gif

Is the Product Defined?

For matrix multiplication AB, the number of columns in A must equal the number of rows in B.

Size of the Product

If AB is defined, the size of matrix AB is the number of rows in A by the number of columns in B.

Matrix Multiplication Is Not Commutative

AB BA

for any size matrices A and B.

Transpose for a 3x3 Matrix

graphics/ap01equ17.gif

Transpose

For any size matrix A, each entry a mn moves to a nm in A T .

 <  Day Day Up  >  


Beginning Math and Physics for Game Programmers
Beginning Math and Physics for Game Programmers
ISBN: 0735713901
EAN: 2147483647
Year: 2004
Pages: 143
Authors: Wendy Stahler

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net