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 class 'pdMat'
logDet(object, ...)

Arguments

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.

Value

the log-determinant of a square-root factor of the positive-definite matrix represented by object.

Author

José Pinheiro and Douglas Bates bates@stat.wisc.edu

See also

Examples

pd1 <- pdSymm(diag(1:3))
logDet(pd1)
#> [1] 0.8958797