Skip to content

Matrix singular values #39831

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 7 commits into from
Jul 6, 2025
Merged

Conversation

user202729
Copy link
Contributor

@user202729 user202729 commented Mar 31, 2025

Implement .singular_values() for matrix. Previously it was only available for RBF and CBF.

Should probably later add algorithm=sympy using #32171 , but is not in scope here.

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation and checked the documentation preview.

⌛ Dependencies

#39804 : while not strictly necessary, this makes the method more useful --- otherwise it raises a warning in base fields such as RR or CC

@user202729 user202729 force-pushed the matrix-singular-values branch 2 times, most recently from bfdf734 to 5808c56 Compare March 31, 2025 07:51
Copy link

github-actions bot commented Mar 31, 2025

Documentation preview for this PR (built with commit eed345f; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@user202729 user202729 requested a review from dimpase June 13, 2025 11:35
Copy link
Member

@dimpase dimpase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@dimpase
Copy link
Member

dimpase commented Jul 2, 2025

One can also think of a better method for sparse matrices, as explicitly multiplying out m*m.H produces a fill-in, generally speaking. Surely there is stuff in ARPACK and maybe in SuiteSparse to handle this better

@vbraun vbraun merged commit cf41fe3 into sagemath:develop Jul 6, 2025
25 checks passed
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.

3 participants