-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added the calculation method of diagonal matrix to `takagi`, and test matrix to test_decompositions.py. * added the related pull request number into CHANGELOG.md. * Update thewalrus/tests/test_decompositions.py Co-authored-by: Nicolas Quesada <[email protected]> * added rtol to np.allclose, corrected the sort of l and U, and added the diagonal matrix explicitly to test_decompositions.py. * reformat test_decompositions.py using black * Update thewalrus/tests/test_decompositions.py Co-authored-by: Nicolas Quesada <[email protected]> * added pylint: disable=too-many-return-statements. fixed the ordering of the matrix in takagi with diagonal matrix * fixed the ordering of the matrix in takagi with diagonal matrix added test to trigger both svd_order=True and False in takagi with diagonal matrix * reformated test_decompositions.py using black -l 100 * moved the rtol as an optional parameter of takagi * updeted the description of rtol in takagi --------- Co-authored-by: Nicolas Quesada <[email protected]>
- Loading branch information
1 parent
f935053
commit 0e51518
Showing
3 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters