Eigen_det {EigenR} | R Documentation |
Determinant of a matrix
Description
Determinant of a real or complex matrix.
Usage
Eigen_det(M)
Arguments
M |
a square matrix or |
Value
The determinant of M
.
Examples
set.seed(666)
M <- matrix(rpois(25, 1), 5L, 5L)
Eigen_det(M)
# determinants of complex matrices are supported:
Eigen_det(M + 1i * M)
# as well as determinants of sparse matrices:
Eigen_det(asSparseMatrix(M))
Eigen_det(asSparseMatrix(M + 1i * M))
[Package EigenR version 1.3.0 Index]