Skip to content

Convert lower to upper bidgiagonal in _svd! and _svdvals! #158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2025

Conversation

andreasnoack
Copy link
Member

This is done by running a single pass of givens rotations from the left while also updating the U matrix. For svdvals!, the uplo field is simply flipped as the singular values of the transpose are the same.

Supersedes #156. Closes #157.

@andreasnoack andreasnoack force-pushed the an/lowertoupper branch 4 times, most recently from bfa8c1d to 4c14a98 Compare July 21, 2025 15:12
Copy link

codecov bot commented Jul 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.42%. Comparing base (ec4784b) to head (477ba23).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #158      +/-   ##
==========================================
+ Coverage   96.32%   96.42%   +0.10%     
==========================================
  Files          10       10              
  Lines        1441     1454      +13     
==========================================
+ Hits         1388     1402      +14     
+ Misses         53       52       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This is done by running a single pass of givens rotations from the
left while also updating the U matrix. For svdvals!, the uplo field
is simply flipped as the singular values of the transpose are the
same.
@andreasnoack andreasnoack merged commit 79b8953 into master Jul 21, 2025
8 checks passed
@andreasnoack andreasnoack deleted the an/lowertoupper branch July 21, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

svd not supported for lower bidiagonal matrices
1 participant