Types: N/A
Examples: N/A
Constructions: N/A
Generalizations: N/A

Properties: N/A
Sufficiencies: N/A
Questions: N/A

Relation Between Matrix-Vector Multiplication and Matrix Partitions

Below is a graphic illustrating the relationships.

500

⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠

Text Elements

scalarized version

(data broken into
individual entries)
Matrix-Row-Vector
Multiplication
vectorized version

(data chunked into
vector-sized pieces)
Matrix-Column-Vector
Multiplication

Embedded files

8a9f80f541b321794f4fbec2aa21051b8b369096: Ax=b
349d20c01f1a6ab00d324e2a24cc4a73821c82e6: Ax=b
3e06897a5bcc06638c3bbd111a63bdb567acd4ce: b=i=1mxiA(i,:)
52edc1c69e12a2be439256dd86297f5d7485dad2: b=k=1nxkA(:,k)
c5a456f1fdd62c390b2cb8e5d19140e22588a04a: bi=[A(i,:)]Tx
83e11f75cea9f244c233ffae4c8d4a19b28238fe: =k=1naikxk
a7977a63a2b20179c5351d1c4672ee07a9705369: bk=xA(:,k)
fa620616aafcbc35868c5b0e2d6b71b6fa51d28f: =i=1mxiaik
c0958aeb128d030012bb43043ad2ae2160041e06: xTA=b
c110adcb1bf0c6e31a02a0fba332ce3d63afdbee: xTA=b

Notice:

When solving real world problems that require us to decide which method to use, two useful questions to ask are:

  1. Is the modeling matrix the left or right factor?
  2. Do we want vectorized or scalarized data?

Remark. The relation between the methods will prove useful when solving computer science problems.