mxinv {calculus}R Documentation

Numerical and Symbolic Matrix Inverse

Description

Computes the inverse of a numeric or character matrix.

Usage

mxinv(x)

Arguments

x

numeric or character matrix.

Value

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. doi:10.18637/jss.v104.i05

See Also

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

Examples

### numeric matrix
x <- matrix(1:4, nrow = 2, byrow = TRUE)
mxinv(x)

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


[Package calculus version 1.0.1 Index]