Learn R Programming

ramify (version 0.3.3)

inv: Matrix Inverse

Description

Calculates the inverse of a square matrix.

Usage

inv(x, ...)

Arguments

x
A square numeric or complex matrix
...
Additional optional arguments.

Details

See the documentation for the base function solve.

See Also

solve.

Examples

Run this code
m <- 3 * eye(5)
inv(m)

Run the code above in your browser using DataLab