yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #03499
Re: Eigen decomposition
Thanks Anton! Now it works. I noted that there are two classes with the eigenvalue() function. One by Matrixbase, and one by EigenSolver. The one which you have implemented (inherited from EigenSolver) seems to more stable than the one which is inherited Matrix base. I had some errors using the latter.
Cheers,
Boon
From: gladky.anton@xxxxxxxxx
Date: Fri, 26 Feb 2010 18:04:51 +0100
To: yade-dev@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Yade-dev] Eigen decomposition
Please, check here http://bazaar.launchpad.net/%7Eyade-dev/yade/wm3-eigen/annotate/head%3A/eigen/yadeMath.hpp#L204
this is the "glue" between Eigen and WM3. Hope it helps.______________________________
Anton Gladkyy
2010/2/26 boon chiaweng <booncw@xxxxxxxxxxx>
Thanks Anton for the emails. I am looking also for eigen"vectors". What functions are you using to retrieve them?
Boon
From: gladky.anton@xxxxxxxxx
Date: Fri, 26 Feb 2010 16:02:09 +0100
To: yade-dev@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Yade-dev] Eigen decomposition
I am not very familiar with this function,
but
A.eigenvalues().real()
should help you.______________________________
Anton Gladkyy
2010/2/26 boon chiaweng <booncw@xxxxxxxxxxx>
Thanks Anton,
what function in Eigen, that you're using to get the eigenvector? Matrix3d Eigenvectors = A.eigenvectors() doesn't work (A is a 3x3 matrx)...
Yours,
Boon
From: gladky.anton@xxxxxxxxx
Date: Fri, 26 Feb 2010 15:09:01 +0100
To: yade-dev@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Yade-dev] Eigen decomposition
That's true. That is one of reasons, why we move to Eigen library.
Just wait a little bit, we have almost finished. (Or I am too optimistic ;) )______________________________
Anton Gladkyy
2010/2/26 boon chiaweng <booncw@xxxxxxxxxxx>
Hi,
Wm3 was not able to carry out eigendecomposition correctly on my matrix, and gave "NaN". Eigen tuxfamily, on the other hand, does not have spectral/eigen decomposition. Does anyone know what's wrong with the eigendecomposition in Wm3?
Yours,
Boon
Hotmail: Free, trusted and rich email service. Get it now.
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up now.
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up now.
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
References