a question about eig() calculating Hermitian matrix

6 次查看(过去 30 天)
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?

请先登录,再进行评论。

更多回答(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