Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software
- Software Development SDKs and Libraries
- Intel® oneAPI Math Kernel Library
- Eigenvalues not in ascending order

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Christoph_K_

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-17-2017
06:06 AM

46 Views

Eigenvalues not in ascending order

Hey there,

is there a diagonalisation routine, that does not order the eigenvalues in an ascending way?

Thanks in advance,

sommerfeld

Link Copied

2 Replies

Zhen_Z_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-17-2017
06:43 PM

46 Views

Hi Christoph,

I do not very understand your purpose of diagonalizing matrix. If your demand is to reduce amount of calculation for solving equation or doing some matrix multiplication, you probably could use those solver function directly.

Well if you really want to diagonalize matrix A, it must satisfy P^{-1}AP= dia(A), that means A*P=P*dia(A), that A=P*dia(A)*P^{-1}. If P is orthogonal matrix, then P^{-1} =P^{T} , which means A=P dia(A) P^{T}. That means you could use some LAPACK function to reduce symmetric/non-symmetric matrix to diagonal matrix, however this kind of problem still belongs to eigenvalue problem which means the implementation for solving this problem still calculated eigenvalues/eigenvectors inside of the kernel.

Best regards,

Fiona

Christoph_K_

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-17-2017
11:32 PM

46 Views

Hi Fiona,

thanks for your reply. The point is that I care about the order of the eigenvalues. To each row of the original matrix A there belongs one eigenvalue in the matrix diag(A). But since the eigenvalues are ordered in an ascending way, I cannot find out, which eigenvalue belongs to the row. Does the transformation matrix P also contain the permutation to transform in the space, where the eigenvalues are ordered in an ascending way?

Best regards,

Christoph

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

For more complete information about compiler optimizations, see our Optimization Notice.