This project solves systems of linear equations using Gaussian Elimination and Back Substitution, implemented in Python with NumPy.
- Forward elimination to row echelon form
- Back substitution to find solutions
- Row swapping for pivoting
- Inconsistency detection
- Edit the augmented matrix
Ain the script:
A = np.array([
[ 2, -3, 2, 3],
[ 1, -1, -2, -1],
[-1, 2, -3, -4]
])- Run the script:
python gaussian_elimination.py- Output includes the reduced matrix and solution vector.
- Python 3.x
- NumPy
Free to use and modify.