invmatrix {cmna} | R Documentation |
Invert a matrix
Description
Invert the matrix using Gaussian elimination
Usage
invmatrix(m)
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
A <- matrix(c(1, 2, -7, -1, -1, 1, 2, 1, 5), 3)
refmatrix(A)
[Package cmna version 1.0.5 Index]