This function is generic (see Methods); method functions can be written to handle specific classes of data. Classes which already have methods for this function include: "lu.Hermitian", "lu.Matrix", "qr.Matrix", "schur.Matrix", "svd.Matrix", "LowerTriangular", "UpperTriangular", "UnitLowerTriangular", "UnitUpperTriangular".
det(x, logarithm = T, ...)
library(Matrix) x <- Matrix( rnorm(9), 3, 3) det(x)