
Last chance! 50% off unlimited learning
Sale ends in
Transform a matrix to row echelon form.
refmatrix(m)rrefmatrix(m)
solvematrix(A, b)
a matrix
a square matrix representing the coefficients of a linear
system in solvematrix
a vector representing the right-hand side of the linear
system in solvematrix
the modified matrix
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
.
Other linear:
choleskymatrix()
,
detmatrix()
,
gdls()
,
invmatrix()
,
iterativematrix
,
lumatrix()
,
rowops
,
tridiagmatrix()
,
vecnorm()
# NOT RUN {
A <- matrix(c(1, 2, -7, -1, -1, 1, 2, 1, 5), 3)
refmatrix(A)
# }
Run the code above in your browser using DataLab