Matrix multiplication | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

Matrix multiplication

I want multiply two matrix in java

19th Jan 2017, 1:31 PM
Ahmed Ali Fouad Ismail
Ahmed Ali Fouad Ismail - avatar
2 Answers
Two matrices A(M X N) and B(P X Q) can be multiplied if and only if N is equal to P. The product of two matrices A(M X N) and B(N X Q), denoted by A x B, is a matrix of dimension M × Q. Here is the Java program to multiply two matrix C program :
16th Apr 2017, 7:06 PM
Arun Kumar
Arun Kumar - avatar