A program that adds two given matrix using functions and multidimensional arrays | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

A program that adds two given matrix using functions and multidimensional arrays

2 3 14 -9 50 4. matrix A and 5 7 2 2 9 -6. matrix. B additional and multiplication of the above matrix

13th Jun 2017, 11:21 AM
Joe Justin
Joe Justin - avatar
3 Answers
13th Jun 2017, 11:34 AM
Ranjan Bagri
Ranjan Bagri - avatar
+ 6
In JS, with the help of link posted by @AAAAARANJAN BAGRI for addition, and wikipedia for principle of multiplications (there are many kind of matrix product, I've implemented most of them): https://code.sololearn.com/WgiabA06ICbu/#js Could be improved by many ways ;P (implicite matrix size, errors handling, matrix class model...)
13th Jun 2017, 6:11 PM
visph
visph - avatar
0
Thank you pal,that was realy helpful
19th Jun 2017, 11:26 PM
Joe Justin
Joe Justin - avatar