invmatrix: Invert a matrix

Description Usage Arguments Details Value See Also Examples

View source: R/invmatrix.R

Description

Invert the matrix using Gaussian elimination

Usage

1

Arguments

m

a matrix

Details

invmatrix invertse the given matrix using Gaussian elimination and returns the result.

Value

the inverted matrix

See Also

Other linear: choleskymatrix, detmatrix, gdls, iterativematrix, lumatrix, refmatrix, rowops, tridiagmatrix, vecnorm

Examples

1
2
A <- matrix(c(1, 2, -7, -1, -1, 1, 2, 1, 5), 3)
refmatrix(A)

cmna documentation built on June 20, 2017, 9:08 a.m.