a MATLAB code which
implements elementary row operations (ERO) for the
interactive solution of a system of linear equations.
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
eros is available in
a MATLAB version and
an R version.
Related Data and Programs:
AB=elim(i,j) uses a multiple of pivot row j to zero out entry (i,j).
x=gauss(A,b) uses Gauss elimination to solve A*x=b.
value=gauss_det(A) uses Gauss elimination to find the determinant of A.
B=gauss_inverse(A) uses Gauss elimination to find the inverse of A.
[P,L,U]=gauss_plu(A) uses Gauss elimination to find the PLU factors of A.
AB=init(A,b) initializes global memory before a new calculation.
[AB,p]=pivot(j) seeks the pivot row p for the j-th variable.
AB=scale(i,j) divides row i by entry A(i,j).
x=solution() returns the solution of the linear system after
it has been computed.
AB=swap(i1,i2) swaps rows i1 and i2.
Last revised on 08 January 2020.