logdet {msos}R 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)))

[Package msos version 1.2.0 Index]