This is an algorithm which uses Lapace expansions, which recursively computes the determinant of an n x n
matrix by computing n determinants of (n-1) x (n-1)
subminors. The determinant of the 2 x 2
matrix should be obvious.
There are better ways to do that, like LU decomposition.
1
solved Understanding of a specific function Determinant of a Matrix [closed]