#793 – Matrix Multiplication, Part III – Procedure

Once you know that an m x n matrix can be multiplied by an n x p matrix to get a m x p matrix and you know how to multiply a row by a column, you can multiply one matrix by another.

To do the operation, you multiply each row in the the first matrix by each column in the second matrix, using the dot product of two vectors to do the multiplication.  The resulting value is stored in the corresponding row and column of the target matrix, as follows.

Multiplying matrix A by matrix B to get matrix C, row i of matrix A is multiplied by column j of matrix B, to get a result that is stored in row i and column j of matrix C.

For example:

793-001

 

About Sean
Software developer in the Twin Cities area, passionate about .NET technologies. Equally passionate about my own personal projects related to family history and preservation of family stories and photos.

One Response to #793 – Matrix Multiplication, Part III – Procedure

  1. Pingback: Dew Drop – April 8, 2013 (#1,522) | Alvin Ashcraft's Morning Dew

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: