Have you written it down showing the r,c for the input matrixes and the output matrixes to get the pattern for writing the loops?
Something like this (I'm making up the indexes):
0,0 = 0,0 * 0,0...
Type: Posts; User: Norm
Have you written it down showing the r,c for the input matrixes and the output matrixes to get the pattern for writing the loops?
Something like this (I'm making up the indexes):
0,0 = 0,0 * 0,0...
You need a definition for how to multiply different sized matrixes.
Do you have the algorithm for solving your problem?
Once you get that, someone can help you code it in java.