mxdet: Numerical and Symbolic Determinant

View source: R/mxdet.R

mxdetR Documentation

Numerical and Symbolic Determinant

Description

Computes the determinant of a numeric or character matrix.

Usage

mxdet(x)

Arguments

x

numeric or character matrix.

Value

numeric or character.

References

Guidotti E (2022). "calculus: High-Dimensional Numerical and Symbolic Calculus in R." Journal of Statistical Software, 104(5), 1-37. doi: 10.18637/jss.v104.i05

See Also

Other matrix algebra: mxinv(), mxtr(), mx()

Examples

### numeric matrix
x <- matrix(1:4, nrow = 2)
mxdet(x)

### symbolic matrix
x <- matrix(letters[1:4], nrow = 2)
mxdet(x)


eguidotti/calculus documentation built on March 17, 2023, 5:18 a.m.