powered by
Via the eigen package
eigen_det(X, num_cores = 1)
The determinant as a scalar numeric value
A numeric matrix of size p x p
The number of cores to use. Unless p is large, keep to the default of 1.
p = 30 eigen_det(matrix(rnorm(p^2), nrow = p))
Run the code above in your browser using DataLab