Learn R Programming

calculus (version 0.3.2)

mxinv: 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. (2020). "calculus: High dimensional numerical and symbolic calculus in R". https://arxiv.org/abs/2101.00086

See Also

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

Examples

Run this code
# NOT RUN {
### 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)

# }

Run the code above in your browser using DataLab