using LinearAlgebra
A = randn(10,10)
E = eigen(A')
returns an error
ERROR: MethodError: no method matching eigen(::Adjoint{Float64,Array{Float64,2}})
This looks like a bug to me but maybe this is by design ?
If so, is there a smarter workaround than using the Matrix function ? As in
E = eigen(Matrix(A'))
which is quite unnatural in my opinion. It looks like it may also ruin any possible optimization for special matrices, (e.g. Sparse, Diagonal, Bidiagonal, etc).
I’d be happy to do it but I am a newcomer to julia and I am not sure how to do these things properly. I will have a look at the eigen.jl test file and see if I can write something not too stupid.
In the meantime I can open an issue referencing your code suggestion. It may be a good idea anyway as I would not be surprised if Adjoint types broke some other LinearAlgebra functions.
Sounds good. For context, transpose and adjoint have only recently become lazy (the Adjoint and Transpose types are new in 0.7), which is why there might still be a few missing methods for these types.