intel MKL: what function used in MKL lib (only for C program) for solving Ax=lambda*Bx (eigen value)

StackOverflow https://stackoverflow.com/questions/7789092

  •  10-02-2021
  •  | 
  •  

Question

Ax=lambda*Bx

how to find the value of lambda using MKL?

Était-ce utile?

La solution

The best function to call depends on the structure and data types of your matrices. Intel provides this guide on function selection for various eigen value solutions .

To set up your inputs, consult the MKL Notes on calling from c

Here's a snippet:

When calling LAPACK routines from C-language programs, make sure that you follow Fortran rules: Pass variables by 'address' as opposed to pass by 'value'. Be sure to store your data Fortran-style, i.e. data stored column-major rather than row-major order.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top