The Matrix Calculator is a Python-based console application that allows users to perform various matrix operations interactively. Users can input matrices of different sizes and perform operations such as addition, subtraction, multiplication, transpose, determinant calculation, inverse finding, and more.
- Addition of multiple matrices
- Subtraction of multiple matrices
- Matrix multiplication
- Transpose of a matrix
- Determinant calculation (for square matrices)
- Finding the inverse of a matrix (if possible)
- Matrix rank calculation
- Exponentiation of square matrices
- User-friendly console-based interaction
- Input validation and error handling
- Python 3
- NumPy (for efficient matrix operations)
- Ensure you have Python 3 installed. You can download it from python.org.
- Install NumPy using pip if it's not already installed:
pip install numpy
- Download or clone this repository:
git clone https://github.com/bhaveshsolanki159-codex/Creating-Own-Matrix-Data-type.git cd Creating-Own-Matrix-Data-type
- Run the program using:
python matrix.py
- Follow the on-screen prompts to enter matrices and select operations.
- The program will display the results after each operation.
Contributions are welcome! Feel free to fork the repository and submit a pull request with your improvements.