Learn R Programming

calculus (version 1.0.1)

mxdet: Numerical and Symbolic Determinant

Description

Computes the determinant of a numeric or character matrix.

Usage

mxdet(x)

Value

numeric or character.

Arguments

x

numeric or character matrix.

References

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

See Also

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

Examples

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

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

Run the code above in your browser using DataLab