logdet: Returns the log determinant for a symmetric positive definite matrix.
Description
This internal function returns the log determinant of a positive
definite matrix by using the trace of a the Cholesky trick. Its way
faster than what you find in base.
Arguments
A
A symmetric positive definite matrix. Value
A scalar giving the log determinant of A