Python/linear_algebra/src
zakademic 977dfaa46c
Linear algebra/power iteration (#2190)
* Initial commit of power iteration.

* Added more documentation for power iteration and rayleigh quotient

* Type hinting for rayleigh quotient

* Changes after running black and flake8.

* Added doctests, added unit tests. Removed Rayleigh quotient as it is not needed.

* Update linear_algebra/src/power_iteration.py

Changed convergence check line.

Co-authored-by: Christian Clauss <cclauss@me.com>

* Update linear_algebra/src/power_iteration.py

Named tests more clearly.

Co-authored-by: Christian Clauss <cclauss@me.com>

* Changed naming in test function to be more clear. Changed naming in doctests to match function call.

* Self running tests

Co-authored-by: Zeyad Zaky <zeyadzaky@Zeyads-MacBook-Pro.local>
Co-authored-by: Christian Clauss <cclauss@me.com>
2020-07-26 10:51:10 +02:00
..
lib.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
polynom-for-points.py Fixes unused variable errors in LGTM (#1746) 2020-02-11 13:59:09 +05:30
power_iteration.py Linear algebra/power iteration (#2190) 2020-07-26 10:51:10 +02:00
rayleigh_quotient.py Changed the deprecated np.matrix to np.ndarray (#1923) 2020-05-01 17:42:41 +02:00
test_linear_algebra.py isort --profile black . (#2181) 2020-07-06 09:44:19 +02:00