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
- 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
- Python
- NumPy
git clone https://github.com/Sahdevagarwal/Matrix-Operations.gitcd Matrix-Operationspip install numpypython main.pyEnter 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
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
Possible future upgrades:
- Better Input Validation
- Cleaner Output Formatting
- Matrix Power
- Eigenvalues & Eigenvectors
- GUI Version
- Export Results to File
Sahdev Agarwal
GitHub: https://github.com/Sahdevagarwal