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