Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

image

🧮 Matrix Calculator

A Matrix arithmetic engine built from scratch with Python OOP and dunder methods. Supports addition, subtraction, and multiplication — inspired by NumPy, built with pure Python.


✨ Features

  • Matrix addition, subtraction, and multiplication
  • Full dimension validation with clear error messages
  • Dunder methods (__add__, __sub__, __mul__, __repr__)
  • Modular design — Matrix class importable as a module
  • Foundation for a future NumPy-style custom library

🛠️ Tech Stack

Python OOP CLI


🚀 How to Run

git clone https://github.com/Ali-datasmith/matrix-calculator.git
cd matrix-calculator

# Run demo
python src/custom_calculator.py

# Run custom example
python src/main.py

🧠 Concepts Applied

  • OOP: Classes, Dunder/Magic Methods
  • Matrix arithmetic logic from scratch
  • Exception handling with dimension validation
  • Modular Python (__name__ == "__main__")
  • NumPy-inspired design thinking

👤 Author

Ali-datasmith — Python Developer
GitHub

About

Matrix arithmetic engine built with Python OOP and dunder methods

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages