Skip to content

Python Gauss-Jordan Algorithm: Solve linear equations and find matrix inverses with ease.

Notifications You must be signed in to change notification settings

MuhammadAmas/Gauss-Jordan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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:

$ 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)

About

Python Gauss-Jordan Algorithm: Solve linear equations and find matrix inverses with ease.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages