Commit Graph

39 Commits

Author SHA1 Message Date
17eca0bfcd Add spd_10.npz 2024-11-28 17:51:39 +01:00
88af4bdf72 Add spd_5.npz 2024-11-28 17:51:38 +01:00
eab847a8aa Add spd_2.npz 2024-11-28 17:51:37 +01:00
7d3bf7d56e Add push_files.sh 2024-11-28 17:51:36 +01:00
87d6bb0d97 Revert "Merge branch 'main' of https://github.com/kuhyx/PORR"
This reverts commit a7123acced, reversing
changes made to 4512cf9305.
2024-11-28 17:48:11 +01:00
a7123acced Merge branch 'main' of https://github.com/kuhyx/PORR 2024-11-28 17:35:52 +01:00
aleksandrasob
ad1f64e342
Merge pull request #12 from kuhyx/ola
add writinf/reading to/from file, remove rest of eigs calcs
2024-11-28 15:05:24 +01:00
aleksandrasob
85a5f61142 add writinf/reading to/from file, remove rest of eigs calcs 2024-11-28 15:02:00 +01:00
2619f041d7 feat: calculate eigenvalues using numpy library 2024-11-25 15:47:17 +01:00
4512cf9305 chore: addeed requirements and readme 2024-11-23 14:21:36 +01:00
aleksandrasob
90fb64506a
Merge pull request #9 from kuhyx/ola
:3
2024-11-17 17:48:53 +01:00
aleksandrasob
b55949571a
Delete code/xd.py 2024-11-17 17:47:53 +01:00
aleksandrasob
c2263b9361 sing vals as eigenvals for nementh12 2024-11-17 17:45:23 +01:00
3eb6d14a98 chore: added readme and requirements file 2024-11-13 17:20:42 +01:00
aleksandrasob
6b067c9077
Merge pull request #8 from kuhyx/ola
fixing
2024-11-12 20:55:46 +01:00
aleksandrasob
9f5f33495a fixing 2024-11-12 20:50:25 +01:00
Gromiusz
b81bbcd3ed
Merge pull request #7 from kuhyx/ola
two more matrices to test, processes implementation
2024-11-11 20:48:44 +01:00
aleksandrasob
7c6482eed9 adding time measurements for processes, adding two more matrix types 2024-11-11 17:25:36 +01:00
aleksandrasob
7278706423 after rebase 2024-11-10 18:22:36 +01:00
Gromiusz
73a12d3859
Time measurement feature (#6)
* making new branch and importing time

* add time_measurement decorator

* add measurement functionality to solve()
2024-10-31 17:50:21 +01:00
Gromiusz
c938e63b7f
Complete all threads functions in Linear Algebra Utils, add new parameters to tests (#5)
* complete threads function (tests FAIL)

Test fail due to indivisibility of the problem into threads. Test is turned to ProcessingType.THREADS!. On ProcessingType.SEQUENTIAL all test PASS.
TODO: make sure that len(problem) is divisible by num of threads. It can be less threads for small problem.

* fixing bugs in linear_algebra_utils, properly adress chunks to threads

* the refactor of the ThreadsLinearAlgebraUtils

* set test to execute both sequential and threads processing types

* Delete unnecessary lines tests.py

* rename scalar_matrix_multiply to scalar_vector_multiply
2024-10-27 20:13:43 +01:00
Gromiusz
b02117c11b
Add Interface for Extending Parallel Processing Methods (#4)
* Add choice between sequential or parallel(threads) processing

The LinearAlgebraUtils class has been changed to abstract class.

* remove needless imports and move the functionality from constructor to the function

* add ProcessingType class for a more transparent selection of methods

* the refactor of the assign_method

* rename the assign_method method
2024-10-25 17:01:19 +02:00
42ebe9c053 feat: temporary remove calculatimng richardson convergence 2024-10-25 11:56:59 +02:00
kuhyx
76815542f5
Merge pull request #3 from kuhyx/kuhy
Kuhy
2024-10-21 14:17:29 +02:00
6946035518 feat: compare norms calculated by richardson vs numpy 2024-10-20 19:34:12 +02:00
cb179a76ce chore: moved debug prints to separate function 2024-10-20 19:20:38 +02:00
70c0da16c0 fix: calculations of inverse matrix 2024-10-20 19:19:31 +02:00
d74da05da8 feat: made max iterations obligatory argument 2024-10-20 19:06:15 +02:00
9014c37064 feat: can run tests independently 2024-10-20 18:39:01 +02:00
838d5ed563 fix: removed adding "size" to self values 2024-10-20 18:32:12 +02:00
ea98dc9712 feat: changed to proper pytests 2024-10-20 18:27:51 +02:00
76ace2b76c feat: reworked convergence calculations 2024-10-20 18:09:06 +02:00
d3b0e8e0cc feat: convergence method suggested by wikipedia 2024-10-20 17:47:37 +02:00
aleksandrasob
52d6012092 Add sequential version of Richardson's algorithm and first tests 2024-10-20 16:30:42 +02:00
Gromiusz
ac3ca89815 feat: richardson with threads - add_elements and substract_elements methods 2024-10-19 23:39:42 +02:00
Gromiusz
5e68bddc64 feat: refactor main and richardson to be modular 2024-10-19 23:24:26 +02:00
6124e2db6a chore: added helloo world latex document 2024-10-18 12:59:03 +02:00
c865b8b1a0 feat: simple test and non-numpy sequential Richardson 2024-10-18 12:33:00 +02:00
8b0d680fbd chore: python and latex gitignore 2024-10-18 12:17:22 +02:00