Julia V0.6.2
Is this a bug? Am I using these type wrappers properly?
julia> A = Hermitian(SymTridiagonal([1, 2, 3], [1im, 2im]));
julia> eigfact(A)
ERROR: MethodError: no method matching eigfact!(::Hermitian{Complex{Float64},Sym
Tridiagonal{Complex{Float64}}})
...
The fact is that SymTridiagonal
is not an StridedMatrix
, and hence there is no method for such case. The same would happen with many more types such as Diagonal, …
Maybe complex hermitian tridiagonal type should be considered and add a method for them. Or don’t allow for SymTridiagonal
as a container for the data of the Hermitian
type.