Home > Back-end >  Could you tell me how to call the following matrix multiplication function should be
Could you tell me how to call the following matrix multiplication function should be

Time:01-20

The definition of the function below
Void matrix_m (double a_matrix * *, * * b_matrix const double, const double * * c_matrix,
Int krow, int, kline, int kmiddle, int KTRL)
Specific content on https://blog.csdn.net/linaijunix/article/details/50358617
Now I need to call this function to
In the main program defines the
Int krow=2; Int, kline=3; Int kmiddle=2;
Double B [2], [2]={{2, 3}, {3, 5}};
Double C [2] [3]={,1,1 {2}, {3,2,5}};
Double A [2] [3].
//now call the above multiplication function to solve A=B * C.
Excuse me matrix_m () brackets should be how to write in it?

CodePudding user response:

Only fill in the matrix, and the rest of their fill out
Matrix_m (A, B, C, int krow, int, kline, int kmiddle, int KTRL)

CodePudding user response:

reference 1st floor zjq9931 response:
only fill in the matrix, the rest of their fill out
Matrix_m (A, B, C, int krow, int, kline, int kmiddle, int KTRL)

Thank you for your answer, so write error, error: always convert a "double [*] [2]" to "double * *"
  • Related