Coder Social home page Coder Social logo

vinhphmcng / procedural-matrix-decomposition Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 253 KB

A Python program generating steps to decompose a matrix

Home Page: https://procedural-matrix-decomposition-fuyaf698zxk4emw4uufsfm.streamlit.app/

License: MIT License

Python 100.00%
latex matrix-decompositions numpy pylatex python3

procedural-matrix-decomposition's Introduction


Procedural Matrix Decomposition

Using Numpy and Pylatex


Table of Contents
  1. About The Project
  2. How To Use
  3. License

About The Project

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.

Example

Input

matrix_A

Output: example1.pdf

(back to top)

How To Use

Streamlit

The project is deployed on Streamlit for ease of use, thanks to its Cloud sharing service.

Just head to this link.

Local use

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

matrix_A

in write.py

For more information about Numpy's matrices, head to numpy.matrix

(back to top)

License

MIT License © VPC

(back to top)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.