Friday, May 21, 2010

How do u make a program in C to find the product of 2 2D arrays?ive initialised the 2 arrays,but what next???

For matrix multiplication


- The No.of Columns in the first matrix must be same as the no.of rows in the second matrix ...


Eg:


First Matrix 2 X 3


second matrix is 2 X 3


Then we can't multiply these two matrices.. ok..

How do u make a program in C to find the product of 2 2D arrays?ive initialised the 2 arrays,but what next???
Next is the math. I assume you've taken a linear algebra course by now? A 2D array is a matrix. Multiply the array elements just like you did for matrix elements.
Reply:it's about what program you would make. Matrix operations? like adds, subtracts, multiplication, or something like that?


No comments:

Post a Comment