logdet: Log Determinant

View source: R/logdet.R

logdetR Documentation

Log Determinant

Description

Takes the log determinant of a square matrix. Log is that of base e sometimes referred to as ln().

Usage

logdet(a)

Arguments

a

Square matrix (Q \times Q)

Value

A single-value double.

See Also

tr and fillout

Examples

# Identity Matrix of size 2
logdet(diag(c(2, 2)))

coatless/msos documentation built on Nov. 16, 2023, 5:31 a.m.