-
-
Notifications
You must be signed in to change notification settings - Fork 517
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
FiniteRankFreeModuleMorphism: Add method SVD (singular value decomposition) #31992
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
Replying to @mkoeppe: Sorry for asking a naive question... In the description, what does |
comment:3
RDF is the "real double-precision field" - equivalent of |
comment:4
Replying to @mkoeppe:
Thanks professor. Additionally, in implementing the SVD, should we resort to external libraries such as |
comment:5
If I'm understanding correctly after reading the code, we are still working with matrices (instead of high-dimensional tensors). Suppose
In code, we will reassign the default bases of
such that |
comment:6
Replying to @honglizhaobob:
In Sage we support a wide range of rings for the arithmetic, and consequently often use multiple libraries for the implementation and also have an in-Sage generic implementation. The existing implementation of It would be quite useful to add a generic implementation that only uses the general methods that Sage matrices offer. In that way, we could have access to arbitrary precision and symbolic computations. It would also be good to check what other libraries that we already use or could easily use also provide implementations of SVD. |
comment:7
Replying to @mkoeppe:
I think currently |
comment:8
Yes, that's right -- and that's I think also exactly what |
comment:9
Replying to @mkoeppe:
Could we consider symbolic SVD such as in MATLAB or |
comment:10
Replying to @honglizhaobob:
Do you have an example or link that illustrates what you have in mind? |
comment:12
Replying to @mkoeppe:
In |
Changed branch from u/gh-honglizhaobob/finiterankfreemodulemorphism__add_method_svd__singular_value_decomposition_ to none |
comment:13
Replying to @honglizhaobob: Pushed a preliminary version which only deals with |
Commit: |
comment:15
Be careful what you push. You accidentally pushed your from the built generated files. The source code you want to modify is in Can you please rebase the branch accordingly? |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:17
Replying to @mjungmath:
Sorry, I have reset and pushed the code again. |
comment:18
I've opened #32171 (Matrix: Add generic SVD method using sympy) |
comment:19
Replying to @honglizhaobob:
Don't worry. Thanks for taking care of it. :) |
comment:20
When ready for review, please set author name here on the ticket to your full name, and set to "needs_review". |
comment:21
The Some development tools that help with this:
|
This operation is currently available for matrices over
RDF
.The version for
FiniteRankFreeModuleMorphism
would define a new basis on each of the domain and codomain (with an orthogonal change of basis) so that the matrix of the morphism in the new bases is the diagonal of the singular values.Example:
CC: @egourgoulhon @mjungmath @honglizhaobob
Component: linear algebra
Branch/Commit: u/gh-honglizhaobob/finiterankfreemodulemorphism__add_method_svd__singular_value_decomposition_ @
38bcecc
Issue created by migration from https://trac.sagemath.org/ticket/31992
The text was updated successfully, but these errors were encountered: