Gauss-Jordan assistant
Project description
Gauss-Jordan Assistant (gja)
Enabling live demonstration of the Gauss-Jordan algorithm in a terminal/console.
Installation
pip install gja
Description
The idea of this project is to enable live demonstration of using the Gauss-Jordan algorithm to solve systems of linear equations, using a simple console. This project is developed on Windows but should work using other operating systems.
Why?
I teach an introductory course in Linear Algebra by videoconference to students who are not math majors; the focus is on calculations, not proofs. As I teach remotely, I share the content of my screen. Many of the examples require, at one stage or another, that Gaussian elimination on a matrix be performed.
In my experience, using slides with all the content written up in advance (which is what I have mostly done until recently) is not a good way to maintain student engagement. My hand writing (either using a mouse or a tablet) on a computer screen is absolutely atrocious, which makes it difficult to do "live" examples.
I have also found that a small fraction of students do not seem to understand the basic step of Gaussian elimination, even when I attempt to provide additional explanations via email.
This tool, which I named the Gauss-Jordan Assistant (or GJA), allows me to do live computations on my screen in a legible way. I have tried to design it so that each computation includes some visual clues reinforcing some aspects of Gaussian elimination.
Using the GJA, I can ask students to suggest what should be the next step in the computation, just as easily as I could do it in a traditional classroom with a blackboard. If they suggest something that is incorrect, rather than telling them up front, I can type in their suggestion, observe the result, and follow with relevant explanations go wrong.
Bonus
It is possible to save the result of all the steps using LaTeX format, for easy inclusion (without typos!) in any LaTeX document.
Requirements
- Python 3.8+
- Rich (https://pypi.org/project/rich/). Rich is a fantastic project.
To work properly on Windows (which is what I use), you need the following:
- Windows Terminal (https://github.com/Microsoft/Terminal), which you can get from the Microsoft Store.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gja-0.3.tar.gz
.
File metadata
- Download URL: gja-0.3.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05306bfb1af104f71bc65a21ed9603bb4020c23b143ed0710195af1fbb113fb6 |
|
MD5 | c47554c9322fa7095ce656631a450b42 |
|
BLAKE2b-256 | 5a0d2e7fb8f834f9286a85856fa8fd77b98e0bd8c79f97724cb2a24758c8d89c |
File details
Details for the file gja-0.3-py3-none-any.whl
.
File metadata
- Download URL: gja-0.3-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e56f6f88fe0b1640d16bafe5d89742ee588b7509bcfa724ba3e0df8b8646d188 |
|
MD5 | 30e4049adf00b54545a959f0e7c40e66 |
|
BLAKE2b-256 | 983d862e8b8494a59fc76ea6753d688e0eadb933aaabd3fa60c062aa9d083ebd |