I\'m trying to implement the Laplace expansion algorithm in to calculate the determinant in r.
The Laplace expansion can be used to calculate a determinant of a matri