Sign inSign up

abreto/lu-decomposition

By abreto

Updated almost 6 years ago

PA=LU Decomposition.

Image
0

1.7K

abreto/lu-decomposition repository overview

lu-decomposition

Python code example for matrices' LU decomposition.

Prerequisites

virtualenv venv && source venv/bin/activate  # Optional
pip install -r requirements.txt

Example

python lu-decomposition.py < example.in

Usage

python lu-decomposition.py
Input format
n
a_11 a_12 ... a_1n
a_21 a_22 ... a_2n
...
a_n1 a_n2 ... a_nn 

Docker

docker run --rm -it abreto/lu-decomposition

Tag summary

Content type

Image

Digest

Size

354.9 MB

Last updated

almost 6 years ago

docker pull abreto/lu-decomposition