Python/linear_algebra/src
Tianyi Zheng a64c9f1e7c
Deduplicate euclidean_length method in Vector (#5658)
* Rewrite parts of Vector and Matrix methods

* Refactor determinant method and add unit tests

Refactor determinant method to create separate minor and cofactor
methods.
Add respective unit tests for new methods.
Rename methods using snake case to follow Python naming conventions.

* Reorganize Vector and Matrix methods

* Update linear_algebra/README.md

Co-authored-by: John Law <johnlaw.po@gmail.com>

* Fix punctuation and wording

* Apply suggestions from code review

Co-authored-by: John Law <johnlaw.po@gmail.com>

* Deduplicate euclidean length method for Vector

* Add more unit tests for Euclidean length method

* Fix bug in unit test for euclidean_length

* Remove old comments for magnitude method

Co-authored-by: John Law <johnlaw.po@gmail.com>
2021-10-31 22:16:02 +08:00
..
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
conjugate_gradient.py fix(mypy): type annotations for linear algebra algorithms (#4317) 2021-04-05 15:37:38 +02:00
lib.py Deduplicate euclidean_length method in Vector (#5658) 2021-10-31 22:16:02 +08:00
polynom_for_points.py fix(mypy): type annotations for linear algebra algorithms (#4317) 2021-04-05 15:37:38 +02:00
power_iteration.py fix(mypy): type annotations for linear algebra algorithms (#4317) 2021-04-05 15:37:38 +02:00
rayleigh_quotient.py fix(mypy): type annotations for linear algebra algorithms (#4317) 2021-04-05 15:37:38 +02:00
schur_complement.py added Schur complement to linear algebra (#4793) 2021-10-18 18:46:47 +02:00
test_linear_algebra.py Deduplicate euclidean_length method in Vector (#5658) 2021-10-31 22:16:02 +08:00
transformations_2d.py fix(mypy): type annotations for linear algebra algorithms (#4317) 2021-04-05 15:37:38 +02:00