+ 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

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.

+ 10

Thanks buddy, that is required for my project. I hope it will help me