You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
svdvals is not defined for these special Matrix types.
julia> SymA
5x5 Array{Float64,2}:1.93666-0.475911.275611.496070.278443-0.475910.7776720.70466-1.02571-0.9366921.275610.704665.63420.137856-0.08470551.49607-1.025710.1378562.137491.863260.278443-0.936692-0.08470551.863263.86176
julia>rank(Symmetric(SymA))
ERROR: MethodError:`svdvals` has no method matching svdvals(::Base.LinAlg.Symmetric{Float64,Array{Float64,2}})
in rank at linalg/generic.jl:216
julia>rank(Hermitian(SymA))
ERROR: MethodError:`svdvals` has no method matching svdvals(::Base.LinAlg.Hermitian{Float64,Array{Float64,2}})
in rank at linalg/generic.jl:216
julia>rank(SymTridiagonal(SymA))
ERROR: MethodError:`svdvals` has no method matching svdvals(::Base.LinAlg.SymTridiagonal{Float64})
in rank at linalg/generic.jl:216
I wouldn't say it is "broken", I would just say it is missing. "Broken", to me, implies something that is implemented but buggy. See also #136
jakebolewski
changed the title
rank is currently broken for Symmetric, Hermitian, and SymTridiagonal special matrix typesrank is currently not implemented for Symmetric, Hermitian, and SymTridiagonal special matrix types
Feb 5, 2015
svdvals
is not defined for these special Matrix types.cc @andreasnoack
The text was updated successfully, but these errors were encountered: