eigs with complex hermitian matrix, should I set opts.issym to 1?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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?
0 comentarios
Respuestas (1)
Christine Tobler
el 13 de Mayo de 2024
Editada: Christine Tobler
el 13 de Mayo de 2024
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)
0 comentarios
Ver también
Categorías
Más información sobre Linear Algebra en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!