Where is `eigs()` in Julia 1.0 version?


I want to use eigs() to get the largest eigenvalue of a huge dense symmetric matrix.(50k by 50k)
I can find eigs() in the documentation of Julia 0.6.4, but cannot find it in Julia 1.0.4 or 1.0.1.

Could you please tell me how I can use eigs() in v1.0 Julia?


The reason why I want to use eigs() is that the BLAS function LAPACK.syevr! implemented in eigvals!() is too slow for me. It took 1.5 hours for a 50k by 50k symmetric matirx.

From the other topic:


do this, then these functions https://docs.julialang.org/en/v1.2-dev/stdlib/LinearAlgebra/# are available

using LinearAlgebra

Hi,thanks for your reply. But there is no eigs().

there is eigmax and eigvals

Yes I know. They are using BLAS function LAPACK.syevr!, which is slow for large symmetric matrix.

that would be your function

(if you are unfamiliar with the new package manager…)

julia> using Pkg; Pkg.add("Arpack");


using Arpack
1 Like

Thanks! it works!