Hermitian banded eigendecompositions where T <: BlasFloat #185
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This draft PR adds Hermitian banded eigendecompositions based on tridiagonal reduction. It made me realize that
LinearAlgebra
is missing a Hermitian tridiagonal type and parametric Givens rotations with different types for the sines and cosines: in the BLAS, a complex Givens rotation uses a real cosine. Having a finer grained parametrization of a Givens rotation inLinearAlgebra
would probably speed up their application. This proposal is a breaking change toLinearAlgebra
, so I think that means if implemented it would only be available from Julia v2.RFC: it would be easy to destroy the
HermTridiagonal
type and preserve the outcomes of this PR. ProbablyHermTridiagonal
belongs inLinearAlgebra
.Other improvements:
sbtrd!
so that they can be pre-allocated rather than pushed.sbtrd!
function doesn't default toWANTQ = true
, unifying calls foreigvals
as well.eigen!
andeigvals!
are defined and keyword arguments may be passed so that one may ask for, e.g.eigvals(A, -2, 2)
, all eigenvalues of Symmetric/Hermitian banded A between -2 and 2. Also works with a unitrange.Todo: