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