Skip to contents

Computes generalised determinant

Usage

gdeterminant(x, eps = 1e-10, log = TRUE)

Arguments

x

square matrix

eps

eigenvalues smaller than this will be treated as zero

log

logical. If TRUE, the log-determinant is returned. If FALSE, the determinant is returned.

Value

generalised log-determinant of x