Effacer les filtres
Effacer les filtres

a question about eig() calculating Hermitian matrix

2 vues (au cours des 30 derniers jours)
Pengke
Pengke le 27 Juin 2011
The doc of eig() says the Lapack routine of ZHEEV is used to calculate the eigenvalues and eigenvectors of a Hermitian matrix. My question is how eig() recognizes the input as a Hermitian matrix? Or should the user specifically tell matlab that it is Hermitian, by certain forms of input of eig()?

Réponse acceptée

Krishna Kumar
Krishna Kumar le 28 Juin 2011
The function could itself check the property of matrix and assign the suitable routine, not a big task of course. If you want eig to perform a specific factorization, you need to mention it while calling eig.
  2 commentaires
Pengke
Pengke le 28 Juin 2011
Thank you Krishna. Does that mean eig() itself is the most optimized routine for eigenvalue problems of Hermitian matrices?
Krishna Kumar
Krishna Kumar le 29 Juin 2011
I do hope so.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Linear Algebra dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by