powered by
Calculates the determinant of a square matrix of size \(n\), using the reduction of the matrix in upper triangular form.
condet(A)
A real number corresponding to the determinant of A.
An \(n\times n\) square matrix of.
# Identity matrix of size 10 A <- diag(10) print(condet(A)) # Random matrix with integer elements A <- matrix(sample(-5:5,size=25,replace=TRUE),ncol=5) print(condet(A))
Run the code above in your browser using DataLab