Hello there,
I have a struct of matrix that is defined like this:
Code:
  typedef struct {
          int rows;
          int cols;
          int *mat;
       } Matrix;
And I have 2 pointers to matrices m1 and m2 and I would like to multiply between them.

Now, given the fact that each matrix is saved in a 1-dimensional array, how can I multiply it properly in the result matrix, m3?
Any ideas?

Thanks in advance