0
what is the problem?
In this code I want to calculate determinant of a square Matrix But it doesn't work for 3*3 matrix. How can I correct it ? https://code.sololearn.com/cA6a23a22a19
3 Answers
0
your code works, I just moved some instructions in it.
https://code.sololearn.com/c76ImySmqKbJ/?ref=app
0
shakiba which algorithm do you use to calculate the determinant?
0
Laplace expansion
you can see steps here
https://www.mathsisfun.com/algebra/matrix-determinant.html