mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-04-30 01:29:07 -05:00
The multiplication process example is corrected
This commit is contained in:
@@ -967,11 +967,11 @@ Data Samples × Projection Matrix = Projected Data
|
||||
```
|
||||
Matrix Multiplication Process:
|
||||
A (2×3) B (3×2) C (2×2)
|
||||
┌ ┐ ┌ ┐ ┌ ┐
|
||||
│ 1 2 3 │ │ 7 8 │ │ 1×7+2×9+3×1 │ ┌ ┐
|
||||
│ │ × │ 9 1 │ = │ │ = │ 28 16 │
|
||||
│ 4 5 6 │ │ 1 2 │ │ 4×7+5×9+6×1 │ │ 79 49 │
|
||||
└ ┘ └ ┘ └ ┘ └ ┘
|
||||
┌ ┐ ┌ ┐ ┌ ┐
|
||||
│ 1 2 3 │ │ 7 8 │ │ 1×7+2×9+3×1 1*8+2*1+3*2 │ ┌ ┐
|
||||
│ │ × │ 9 1 │ = │ │ = │ 28 16 │
|
||||
│ 4 5 6 │ │ 1 2 │ │ 4×7+5×9+6×1 4*8+1*5+6*2 │ │ 79 49 │
|
||||
└ ┘ └ ┘ └ ┘ └ ┘
|
||||
|
||||
Computation Breakdown:
|
||||
C[0,0] = A[0,:] · B[:,0] = [1,2,3] · [7,9,1] = 1×7 + 2×9 + 3×1 = 28
|
||||
|
||||
Reference in New Issue
Block a user