フィルターのクリア

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

7 ビュー (過去 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 Center および File ExchangeLinear Algebra についてさらに検索

タグ

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by