inverse {matrixcalc}R Documentation

Inverse of a square matrix

Description

This function returns the inverse of a square matrix computed using the R function solve.

Usage

inverse(x)

Arguments

x

a square numeric matrix

Value

A matrix.

Author(s)

Frederick Novomestky fnovomes@poly.edu

Examples

A <- matrix( c ( 1, 2, 2, 1 ), nrow=2, byrow=TRUE)
invA <- inverse( A )

[Package matrixcalc version 1.0-1 Index]