Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rank is currently not implemented for Symmetric, Hermitian, and SymTridiagonal special matrix types #171

Closed
jakebolewski opened this issue Feb 2, 2015 · 2 comments · Fixed by JuliaLang/julia#10131
Assignees

Comments

@jakebolewski
Copy link
Member

svdvals is not defined for these special Matrix types.

julia> SymA
5x5 Array{Float64,2}:
  1.93666   -0.47591    1.27561     1.49607    0.278443
 -0.47591    0.777672   0.70466    -1.02571   -0.936692
  1.27561    0.70466    5.6342      0.137856  -0.0847055
  1.49607   -1.02571    0.137856    2.13749    1.86326
  0.278443  -0.936692  -0.0847055   1.86326    3.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

cc @andreasnoack

@jakebolewski
Copy link
Member Author

norm is also currently broken for the same reason.

@stevengj
Copy link
Member

stevengj commented Feb 5, 2015

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 jakebolewski changed the title rank is currently broken for Symmetric, Hermitian, and SymTridiagonal special matrix types rank is currently not implemented for Symmetric, Hermitian, and SymTridiagonal special matrix types Feb 5, 2015
@KristofferC KristofferC transferred this issue from JuliaLang/julia Nov 26, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants