row reducer banner

row reducer

9 devlogs
12h 47m 53s

A lot of linear algebra operations that are difficult (or impossible!) to enter into a calculator. This application aims to simplify this through providing 22 different matrix and vector functions accessible through a virtual CLI. The purpous is t…

A lot of linear algebra operations that are difficult (or impossible!) to enter into a calculator. This application aims to simplify this through providing 22 different matrix and vector functions accessible through a virtual CLI. The purpous is to help students check their work without using AI (which is often wrong). Through utalizing a CLI style, it is lightweight and makes it fast to type in commands.

Demo Repository

Loading README...

Arya

Shipped this project!

Hours: 12.8
Cookies: 🍪 344
Multiplier: 26.89 cookies/hr

In this project, I created an accessible linear algebra calculator with a CLI design. It works very much like a command line–the user interacts through entering commands. The user can declare matricies, perform operations on those matricies, and store those results. Because of the functional design, commands can be stacked on top of each other. The textual input makes inputing matricies significantly faster.
In building this, the primary takeaway is how to abstract algorithms. For instance, I knew how to do these operations by hand, but it took a bit to translate that into code. I also learned more about web dev and how to host a site on vercel.

Arya

wrote the readme!

Attachment
0
Arya

hosted this on vercel! This is fully working! The UI is not the best, but the algorithms work! All the code for them is in the github. Below, I just show some of the operations; there are 22 operations total.

0
Arya

mildly better UI

Attachment
0
Arya

worked on creating a web-app implementation of it… it’s a work in progress

Attachment
0
Arya

am exploring how to use Pyodide to port my python code into a web interface. This is what my prototyping looks like so far:

Attachment
0
Arya

Overall I think all the functions are done. I now added some input validation functions that raise errors when the user inputs something unexpected, to help with error handeling.

Attachment
0
Arya

wrote my last function: change of basis! Now I will work on cleaning up the printers, and sketching a basic UI.

Attachment
0
Arya

I implemented col space! This allows to find the inputs of a transformation. Now I will work on row space.

Attachment
0
Arya

I was having some problems with making devlogs, so heres a bulk one for the last 7 hours! tldr, in the past 7 hours, I was able to write the majority of functions for my lin alge calculator! Now I am working on diagonalization. I wanted this to be lightweight, so I am not using any external libraries.

Attachment
0