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

An unreleased side project for Discrete Structures that returns the sum, product, inverse, and transpose of matrices with dimensions up to 4x4.

License

Notifications You must be signed in to change notification settings

J01100/matrix-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An unreleased side project for Discrete Structures that returns the sum, product, inverse, and transpose of matrices with dimensions up to 4x4.

Topics

Resources

License

Stars

Watchers

Forks

Languages