logdet: Find the log determinant

Description Usage Arguments Examples

View source: R/linalgfns.R

Description

Find the log determinant of a matrix Q from its Cholesky factor L (which could be permutated or not)

Usage

1
logdet(L)

Arguments

L

the Cholesky factor of Q

Examples

1
2
3
require(Matrix)
Q <- sparseMatrix(i=c(1,1,2,2),j=c(1,2,1,2),x=c(0.1,0.2,0.2,1))
logdet(chol(Q))

shazhe/mvst0 documentation built on May 29, 2019, 9:20 p.m.