Welcome to the Gauss-Jordan Elimination Algorithm! 🚀
This Python script, gaussJordan.py
, implements the Gauss-Jordan elimination method. It takes user input to create a matrix and performs Gauss-Jordan elimination to solve systems of linear equations or find the inverse of the matrix.
- Download the
gaussJordan.py
file. - Run the script using a Python interpreter.
- Follow the prompts to input the matrix size and values, and specify pivot element coordinates.
- The script will display matrix transformation steps, solving for pivot elements and pivot values, until you exit with invalid pivot coordinates.
Here's an example of using the script:
$ python gaussJordan.py
Enter Number of rows: 3
Enter Number of columns: 3
Enter Numbers in Matrix 11: 2
Enter Numbers in Matrix 12: 1
Enter Numbers in Matrix 13: -1
... (input continues)