* Initial commit of the conjugate gradient method
* Update linear_algebra/src/conjugate_gradient.py
* Added documentation links, changed variable names to lower case and more descriptive naming, added check for symmetry in _is_matrix_spd
* Made changes to some variable naming to be more clear
* Update conjugate_gradient.py
Co-authored-by: Zeyad Zaky <zeyadzaky@Zeyads-MacBook-Pro.local>
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
* Fix all errors mentioned in pre-commit run:
- Fix end of file
- Remove trailing whitespace
- Fix files with black
- Fix imports with isort
* Fix errors
* Create Transformations2D.py
* Update Transformations2D.py
* Drop numpy and add type hints and doctests
* Rename Transformations2D.py to transformations_2d.py
Co-authored-by: Christian Clauss <cclauss@me.com>
* 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>
* Tighten up psf/black and flake8
* Fix some tests
* Fix some E741
* Fix some E741
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
* Travis CI: Don’t allow bare exceptions
* fixup! Format Python code with psf/black push
* except IOError:
* except IOError:
* Update hamming_code.py
* IndexError
* Get rid of the nonsense logic
Co-authored-by: John Law <johnlaw.po@gmail.com>
* Fixes in methods and tests
* Renamed tests.py to test_linear_algebra.py
* removed force_test()
* Delete test_linear_algebra.py
* Format code with psf/black
* Rename tests.py to test_linear_algebra.py
* Added determinate function
* Changed determinate function name
* Changed instance of .det() to .determinate()
* Added force_test() function
* Update tests.py
* Added new algorithm which takes points as an input and outputs a polynom connecting them
* Rename Python-Polynom-for-points.py to python-polynom-for-points.py
* Update python-polynom-for-points.py
* Update python-polynom-for-points.py
* Update python-polynom-for-points.py
* Update python-polynom-for-points.py
* Update python-polynom-for-points.py
* Update python-polynom-for-points.py
* Update python-polynom-for-points.py
* Add doctests and run thru psf/black