Table of Contents
Phiên bản tiếng Việt: nhánh vn-vi
A minimum viable product that is part of the development process of LAFD
A Python program using Numpy and Pylatex to procedurally generate every step of a matrix decomposition process.
The algorithm used is recursive and depends only on basic matrix operations. Our aim is to introduce the concept of matrix decomposition in a comprehensible fashion.
Input
Output: example1.pdf
The project is deployed on Streamlit for ease of use, thanks to its Cloud sharing service.
Just head to this link.
Requirements (It is recommended to use a virtual environemnt such as Anaconda.)
- Python >= 3.11.5
- Numpy and Pylatex
- A Latex compiler such as MiKTeX or TeXLive AND necessary LaTex packages (MiKTeX should automatically show you packages you need to install when you first run the Python program.)
Then download the two files write.py and algo.py located in /local
Finally, use your favorite code compiler or the command line and run write.py
python /path/to/write.py
To decompose a matrix of your choice, simply modify the Numpy matrix called matrix_A located in the main function
in write.py
For more information about Numpy's matrices, head to numpy.matrix