https://github.com/drapegnik/gauss-elimination
:rocket: Multithread solving linear systems on Python
https://github.com/drapegnik/gauss-elimination
bsu famcs gauss-elimination labs mpi python study
Last synced: over 1 year ago
JSON representation
:rocket: Multithread solving linear systems on Python
- Host: GitHub
- URL: https://github.com/drapegnik/gauss-elimination
- Owner: Drapegnik
- Created: 2016-11-14T11:47:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-04T20:32:31.000Z (almost 8 years ago)
- Last Synced: 2025-02-12T05:12:38.300Z (over 1 year ago)
- Topics: bsu, famcs, gauss-elimination, labs, mpi, python, study
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gauss-elimination
[](https://www.codacy.com/app/Drapegnik/Gauss-elimination?utm_source=github.com&utm_medium=referral&utm_content=Drapegnik/Gauss-elimination&utm_campaign=badger)
[](https://codeclimate.com/github/Drapegnik/Gauss-elimination)
[](https://codeclimate.com/github/Drapegnik/Gauss-elimination)
:rocket: multithread solving linear system with Gauss-Jordan elimination
**requirements**:
- [python](https://www.python.org/)
- use `pip install requirements.txt` for [numpy](http://www.numpy.org/) &
[mpi4py](http://pythonhosted.org/mpi4py/)
**run**:
```
$ bash run.sh {matrix_dimension} {values_range} {number_of_procces}
```
**or**
```
$ ./run.sh {matrix_dimension} {values_range} {number_of_procces}
```
**for example**: `$ bash run.sh 3 10 3`:
- generate random matrix `A` with size `(3,3)` and vector `b`
- for `A` find inversed matrix `A_inv` using `3` process
- solve equation like `x = A_inv * b`
- write ouputs, count time

**Notes**
- for direct input use `input.txt`
- inverse matrix and vector `x` stored in `output.txt`