-
Notifications
You must be signed in to change notification settings - Fork 30
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
Eigenvalue decomposition derivatives needed #291
Comments
@nuitlejour Thank you for the suggestion! The answer pertains to real symmetrical matrices as far as I understand it. The matrix I need to compute is neither, so I do not believe it should apply. Sadly. I am going to have a look through the suggested book, though this will take some time to dig through. |
use svd first, and the analytical derivatives on svd is quite simple, and does not require square or real matrix: |
and also, I think in many cases, eigenvalue decomposition is not really needed, svd is more general. |
Hi @riclarsson, Dion here, I stumbled upon this and I wanted to add that matrix calculus is well-defined (https://en.wikipedia.org/wiki/Matrix_calculus). Moreover, I have experience with it, in particular I learnt it from my Numerical Analysis class from forever ago, and can help with this. |
Hi,
This is somewhat of an open issue. An eigenvalue decomposition is necessary for line mixing ECS computations to be effective. This is done. We also need partial derivatives w.r.t. user input to fit with the rest of ARTS. I would like these derivatives to be analytical but I do not know how to take the partial derivatives of an eigenvalue decomposition. I need help here.
The specific function has been marked "FIXME: (Added 2021-01-19; Richard Larsson)" and is located in
linemixing.cc
at lines 13-58 at the merging of #281 . I can add computations ofdW
,dpop
, andddip
if someone knows how to perform the required computations.The text was updated successfully, but these errors were encountered: