refmatrix {cmna} | R Documentation |
Transform a matrix to row echelon form.
refmatrix(m)
rrefmatrix(m)
solvematrix(A, b)
m |
a matrix |
A |
a square matrix representing the coefficients of a linear
system in |
b |
a vector representing the right-hand side of the linear
system in |
refmatrix
reduces a matrix to row echelon form. This is not a
reduced row echelon form, though that can be easily calculated from
the diagonal. This function works on non-square matrices.
rrefmatrix
returns the reduced row echelon matrix.
solvematrix
solves a linear system using rrefmatrix
.
the modified matrix
Other linear:
choleskymatrix()
,
detmatrix()
,
gdls()
,
invmatrix()
,
iterativematrix
,
lumatrix()
,
rowops
,
tridiagmatrix()
,
vecnorm()
A <- matrix(c(1, 2, -7, -1, -1, 1, 2, 1, 5), 3)
refmatrix(A)