This forum has been archived. All content is frozen. Please use KDE Discuss instead.

SelfAdjointEigenSolver

Tags: None
(comma "," separated)
martin3141
Registered Member
Posts
1
Karma
0

SelfAdjointEigenSolver

Fri Apr 27, 2012 12:11 pm
Hi,

I have code that makes use of SelfAdjointEigenSolver<Eigen::MatrixXcd>. I seem to be getting numerically different results for the eigenvectors (very small) depending on whether I compile on the Linux or Windows platforms. Is this expected, and if not, how can I get better agreement?

Thanks

Martin
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: SelfAdjointEigenSolver

Sat Apr 28, 2012 8:49 pm
Very small differences could be explained if one is a 32 bits system while the other is 64 bits (or two 32 bits systems but one with SSE2 enabled). This is because of the extended precision (80bits) of the FPU registers (used in 32 bits) compared to 32 (float) or 64 (double) bits for SSE. Agressive optimisation flags could also explain some differences.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]