I would like to compute the eigenvector of a particular eigenvalue and 
according to the docs, eigvecs is up for the job.
However, I get errors. The following call should give the same output as 
eigvecs(A):

julia> A = rand(3,3)
3x3 Array{Float64,2}:
 0.165111  0.995671  0.393572
 0.496099  0.640361  0.595876
 0.632881  0.3909    0.723987

julia> v = eigvals(A)
3-element Array{Float64,1}:
  1.68982
 -0.230301
  0.0699443

julia> eigvecs(A, v)
ERROR: MethodError: `eigfact` has no method matching 
eigfact(::Array{Float64,2}, ::Array{Float64,1})
Closest candidates are:
  
eigfact{T}(::Union{DenseArray{T,2},SubArray{T,2,A<:DenseArray{T,N},I<:Tuple{Vararg{Union{Colon,Int64,Range{Int64}}}},LD}})
  eigfact{TA,TB}(::AbstractArray{TA,2}, ::AbstractArray{TB,2})
 in eigvecs at linalg/eigen.jl:70

julia> eigvecs(A, v)

I have

julia> versioninfo()
Julia Version 0.4.0
Commit 0ff703b (2015-10-08 06:20 UTC)
Platform Info:
  System: Darwin (x86_64-apple-darwin14.5.0)
  CPU: Intel(R) Core(TM)2 Duo CPU     P7350  @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Penryn)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.3


Reply via email to