How to create a function to execute matrix multiplication in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to create a function to execute matrix multiplication in c++

18th Nov 2019, 6:51 PM
Arvind Vignesh
Arvind Vignesh - avatar
7 Answers
+ 1
There mult function can applicable to any matrix which satisfy the condition for matrix multiplication, i.e M x N, L x K, matrixes there must be L=N; just change according to your requirements if needed..
18th Nov 2019, 9:50 PM
Jayakrishna 🇮🇳
18th Nov 2019, 7:32 PM
Jayakrishna 🇮🇳
0
No bro they only gave for a ..a matrix of 3x1 matrix as a final result😕
18th Nov 2019, 7:34 PM
Arvind Vignesh
Arvind Vignesh - avatar
0
Means?
18th Nov 2019, 7:35 PM
Jayakrishna 🇮🇳
0
What you want? Means which matrix?
18th Nov 2019, 7:56 PM
Jayakrishna 🇮🇳
0
I want for a general matrix
18th Nov 2019, 7:58 PM
Arvind Vignesh
Arvind Vignesh - avatar
0
Or else take a simple case . square matrix
18th Nov 2019, 7:59 PM
Arvind Vignesh
Arvind Vignesh - avatar