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 Development SDKs and Libraries
- Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
- Feast solver for complex generalized eigenvalue problem

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

Highlighted
##

acg92

Beginner

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

06-30-2020
08:54 AM

120 Views

Feast solver for complex generalized eigenvalue problem

Hi,

I have a question regarding Feast generalized eigenvalue solver. I have been using the dfeast_scsrgv for a real valued problem long time and now I wanted to use Feast for a complex problem. And I am using "cfeast_hcsrgv"

So for the following matrices:

A= [1.0 0.0;

0.0 1.0 ]

B= [2.0 0.0;

0.0 2.0i ]

I know the solutions of generalized eigenvalue problem should give 0.5 and -0.5i as eigenvalues.

I tried to obtain these using cfeast_hcsrgv and I am only getting the real valued eigenvalue. The interval that I used is from -3 to 3. And for cfeast_hcsrgv, these interval parameters should be defined as float. So I am not sure how to make them complex valued. Even if I knew it, I am not sure how the define the lower value to include the complex domain as well. My guess is [-3 3] does not include the complex domain.

Attached you could see a source file where I obtain eigenvalues of a real valued case (again very simple 2 by 2 case) and after line 132, the same approach is applied for a complex valued case. Since the original problem is a quite big sparse FEM problem, I had been using some other libraries as well and that's why it might look over complicated for such an easy problem at the first glance. But my problem is basically not being able to covering the complex domain for the guess interval of eigenvalues for the complex part (line 135 and 136)

I would really appreciate if you could help me.

Best,

Arif

0 Replies

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