Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Latest commit

 

History

History
47 lines (39 loc) · 1.94 KB

README.md

File metadata and controls

47 lines (39 loc) · 1.94 KB

Matrix Calculator

A desktop application that returns the inverse, product, sum, and transpose of matrices with dimensions up to 4x4. Written in Python using Tkinter and Numpy.

How to install and run

  1. Install Python 3.6+ from the official website.
  2. Install the dependencies: Numpy, and Tkinter by running pip/pip3 install <dependency_name> from the terminal.
  3. Download/clone the repository then unzip the files.
  4. Find the folder containing main.py.
  5. Run from the terminal python/python3 main.py or use your IDE.

Features

  • Utilizes Numpy for matrix operations.
  • Inverse, transpose, multiply, and add are supported operations.
  • Matrix dimensions up to 4x4 are supported.

Known issues:

  • Computed matrices become 1D lists of strings (may be solved by converting a space seperated string to elements in list)
  • Output elements are not seperated by columns
  • New windows spawn randomly outside Mutter window manager; such as windows10 (may be solved by switching to frame-by-frame control)
  • Running this on Windows10 is not the best user experience.

Possible updates:

  • Code refactoring for readability and reusability.
  • Change to frame by frame control system instead of destroying windows.

MENU

menu

INVERSE

inverse inverse input inverse output

MULTIPLY

multiply multiply input multiply output

ADD

add input add_output

TRANSPOSE

transpose input transpose output