Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Multi-threaded gauss elimination method


Table of Contents

Usage examples

args: 4 false input.txt output.txt

input. txt

4
2 1 -1 2
4 5 -3 6
-2 5 -2 6
4 11 -1 8
5 9 4 2

output.txt

4
1.0 0.0 0.0 0.0 
0.0 1.0 0.0 0.0 
0.0 0.0 1.0 0.0 
0.0 0.0 0.0 1.0 
0.857142857142857 -2.142857142857143 0.14285714285714235 2.7857142857142856

compare the results

[expected]:      0.8571428571428568 -2.142857142857143 0.1428571428571416 2.785714285714285
[calculated]:    0.857142857142857 -2.142857142857143 0.14285714285714235 2.7857142857142856

The generated diekert graph can be pasted here Graphiz to see Foata Noraml Form of threads (each color is different independent set of threads).

Technologies

  • ejml 0.41
  • jama 1.0.3

Range of functionalities

  • generating a diekert graph in a dot format
  • generating nxn matrices
  • checking the result matrix

Startup

Run the program with the following arguments (default calculation accuracy = 10^-10):

  • n - rozmiar macierzy do wygenerowania
  • generate input matrix - false if you wat solve your matrix
  • input - nazwa wygenerowanego pliku z danymi wejściowymi
  • output - nazwa pliku z rozwiązaniem
java -jar main.jar [n] [generate matrix] [input.txt] [output.txt]

Sources

About

Multi-threaded gauss elimination method

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages