det.lu.Matrix(x, logarithm=T)
"lu.Matrix"
representing the LU decomposition of a
square Matrix.
"det"
.
The determinant is computed from a triangular factorization obtained via the function dgetrf or zgetrf from LAPACK (Anderson et al. 1994).
Anderson, E., et al. (1994). LAPACK User's Guide, 2nd edition, SIAM, Philadelphia. Golub, G., and Van Loan, C. F. (1989). Matrix Computations, 2nd edition, Johns Hopkins, Baltimore.
x <- Matrix( sample(-3:3, size = 9, replace = T), nrow = 3, ncol = 3) det(lu(x))