logdet: Find the log determinant

Description Usage Arguments Examples

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))

andrewzm/linalg documentation built on May 10, 2019, 11:15 a.m.