PDA

View Full Version : Matrix multiplication in C


tandoorichicken
Nov28-04, 11:16 PM
For a computer program, I have to multiply:
a[][] * b[]
and store it in c[]

how does the math for this work out on paper? What exactly am I multiplying?

Tide
Nov28-04, 11:38 PM
This is what you're trying to do:

c_{i} = \sum_{j = 1}^{N}a_{i, j}b_{j}