Advertisement

matrix multiplication

Started by January 26, 2003 03:07 PM
2 comments, last by Metal Typhoon 22 years ago
am i wrong or u multiply each member of column by a each member of a row ?? i kinda dont see taht pattern when it''s being multiplied on the gametutorials'' turoail about frustum ...
Metal Typhoon
The multiplication of 3x3 matrices goes like:(aj means a*j)[a b c]   [j k l]   [aj+bm+cp ak+bn+cq al+bo+cr][d e f] * [m n o] = [dj+em+fp dk+en+fq dl+eo+fr][g h i]   [p q r]   [gj+hm+ip gk+hn+iq gl+ho+ir]You can easily think how it goes for more dimensions  


The formula is:
let A be an m*n matrix (m rows, n columns) and B be a n*p matrix and let C be the product A*B,
then the elemet on the i-th row and j-th column in C is the sum of the products of elements in the i-th row in A with the corresponding elements in the j-th column in B
(notice that A*B is not equal to B*A)
Does that make sense?



Click NOW!

[edited by - SwSh on January 26, 2003 4:35:40 PM]
Advertisement
thx alot man :D
Metal Typhoon
You can also view it as the dot product of the ith row with the jth column producing the ijth element.
Keys to success: Ability, ambition and opportunity.

This topic is closed to new replies.

Advertisement