a question about eig() calculating Hermitian matrix

조회 수: 3 (최근 30일)
Pengke
Pengke 2011년 6월 27일
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()?

채택된 답변

Krishna Kumar
Krishna Kumar 2011년 6월 28일
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
Pengke
Pengke 2011년 6월 28일
Thank you Krishna. Does that mean eig() itself is the most optimized routine for eigenvalue problems of Hermitian matrices?
Krishna Kumar
Krishna Kumar 2011년 6월 29일
I do hope so.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by