How do you find the dot product of 2 matrixes with:
matrix 1 has arbitrary rows and arbitrary columns- user will input rows and columns, same for matrix 2 (to multiply, rows of matrix 1 must be the columns size of matrix 2 and column size of matrix1 must be the row size of matrix 2- example:matrix1, matrix2). The results should be returned in a new matrix 3. Matrix3 should be printed in the form matrix3. I get lost in the for loops.
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.