R/logdet.R
logdet.Rd
Takes the log determinant of a square matrix. Log is that of base e sometimes referred to as ln().
logdet(a)
Square matrix (\(Q \times Q\))
A single-value double.
tr and fillout
tr
fillout
# Identity Matrix of size 2 logdet(diag(c(2, 2))) #> [1] 1.386294