Is their any algorithm to find minor or cofactor of matrix of 3X3 order? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 12

Is their any algorithm to find minor or cofactor of matrix of 3X3 order?

I can do it manually, but it increases number of lines in code and manual method cannot be expanded. https://code.sololearn.com/cvlfavz1GmfT/?ref=app

1st Apr 2017, 8:35 PM
Ajay Agrawal
Ajay Agrawal - avatar
2 Answers
+ 5
I have a similar program but in C++. Why don't you take a look at it... https://code.sololearn.com/clnp8REyaPC4/#cpp Also, the algorithm (or procedure) to find the concerned matrix characteristics are readily available in any standard math book. The program I shared follows the standard procedure for finding the adjoint and inverse of a matrix in as few lines of code as possible, and that too in a functional approach.
3rd Apr 2017, 10:24 AM
Renjith M
Renjith M - avatar
+ 10
Thanks buddy, that is required for my project. I hope it will help me
3rd Apr 2017, 3:27 PM
Ajay Agrawal
Ajay Agrawal - avatar