eigs with complex hermitian matrix, should I set opts.issym to 1?

조회 수: 3 (최근 30일)
min lee
min lee 2024년 5월 12일
편집: Christine Tobler 2024년 5월 13일
If the matrix is real and symmetric, I guess it is safe to set opts.issym = 1.
But what if the matrix is complex and hermitian?

답변 (1개)

Christine Tobler
Christine Tobler 2024년 5월 13일
편집: Christine Tobler 2024년 5월 13일
This only matters if you pass in a function handle - if you pass in a matrix, EIGS detects if it's hermitian (real or complex) directly using the ishermitian function.
And in the complex case, issym is interpreted as asking if the matrix is Hermitian.
In the new interface using Name Value arguments, the equivalent of issym would be
eigs(Afun, n, k, IsFunctionSymmetric=true)

카테고리

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

태그

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by