Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Matrix Operations

Python NumPy Status

A command-line Matrix Operations program built using Python and NumPy.

This project was created to practice:

  • NumPy arrays
  • Matrix operations
  • Linear algebra basics
  • Python functions
  • Exception handling
  • Interactive console applications

Features

  • Matrix Addition
  • Matrix Subtraction
  • Matrix Multiplication
  • Matrix Transpose
  • Matrix Determinant
  • Matrix Inverse
  • Matrix Rank
  • Matrix Trace
  • Scalar Multiplication
  • Interactive Menu System
  • Error Handling
  • Continuous Program Loop

Technologies Used

  • Python
  • NumPy

How to Run

1. Clone the repository

git clone https://github.com/Sahdevagarwal/Matrix-Operations.git

2. Navigate to the project folder

cd Matrix-Operations

3. Install NumPy

pip install numpy

4. Run the program

python main.py

Example Menu

Enter Your Choice of Operation:

1. Addition
2. Subtraction
3. Multiplication
4. Transpose
5. Determinant
6. Inverse
7. Rank
8. Trace
9. Scalar Multiplication
10. Exit

Concepts Practiced

This project helped practice:

  • NumPy arrays
  • Matrix dimensions and shapes
  • Matrix multiplication rules
  • Linear algebra operations
  • Exception handling
  • Functions and modular code
  • Loops and conditionals
  • Interactive CLI applications

Future Improvements

Possible future upgrades:

  • Better Input Validation
  • Cleaner Output Formatting
  • Matrix Power
  • Eigenvalues & Eigenvectors
  • GUI Version
  • Export Results to File

Author

Sahdev Agarwal

GitHub: https://github.com/Sahdevagarwal

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages