-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7cc3113
commit 94fbd09
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Gauss-Jordan Elimination Algorithm | ||
|
||
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. | ||
|
||
## How to Use | ||
|
||
1. Download the `gaussJordan.py` file. | ||
2. Run the script using a Python interpreter. | ||
3. Follow the prompts to input the matrix size and values, and specify pivot element coordinates. | ||
4. The script will display matrix transformation steps, solving for pivot elements and pivot values, until you exit with invalid pivot coordinates. | ||
|
||
## Example | ||
|
||
Here's an example of using the script: | ||
|
||
```shell | ||
$ 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) |