This method function extracts the logarithm of the determinant of a
square-root factor of the positive-definite matrix represented by
object
.
# S3 method for pdMat
logDet(object, …)
an object inheriting from class "pdMat"
, representing
a positive definite matrix.
some methods for this generic require additional arguments. None are used in this method.
the log-determinant of a square-root factor of the positive-definite
matrix represented by object
.
# NOT RUN {
pd1 <- pdSymm(diag(1:3))
logDet(pd1)
# }
Run the code above in your browser using DataLab