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

Fail to compute rank(Matrix{BigFloat}) #795

Closed
putianyi889 opened this issue Nov 30, 2020 · 1 comment
Closed

Fail to compute rank(Matrix{BigFloat}) #795

putianyi889 opened this issue Nov 30, 2020 · 1 comment

Comments

@putianyi889
Copy link
Contributor

julia> rank(BigFloat[1 1;1 0])
ERROR: MethodError: no method matching svdvals!(::Array{BigFloat,2})
Closest candidates are:
  svdvals!(::SymTridiagonal) at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\tridiag.jl:350
  svdvals!(::StridedArray{T, 2}) where T<:Union{Complex{Float32}, Complex{Float64}, Float32, Float64} at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\svd.jl:193
  svdvals!(::StridedArray{T, 2}, ::StridedArray{T, 2}) where T<:Union{Complex{Float32}, Complex{Float64}, Float32, Float64} at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\svd.jl:501
  ...
Stacktrace:
 [1] svdvals(::Array{BigFloat,2}) at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\svd.jl:218
 [2] #rank#15 at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\generic.jl:985 [inlined]
 [3] rank(::Array{BigFloat,2}) at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\generic.jl:984
 [4] top-level scope at none:1
@stevengj
Copy link
Member

Duplicate of #61.

For now, you can use https://github.com/JuliaLinearAlgebra/GenericSVD.jl

@KristofferC KristofferC transferred this issue from JuliaLang/julia Nov 26, 2024
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

No branches or pull requests

2 participants