JuliaLang / JuliaLang/LinearAlgebra.jl
`svd` and friends fail for `BigFloat` and other non-primitive numbers.
Open
Nobody has claimed this yet.
bignums
- Dominant language
- Julia
- Stars
- 77
- Forks
- 65
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 10
Description
svd, svdvals, svdvals!, rank (and any functions that use these internally) do not support BigFloat. Presumably they also fail to support other non-BlasReal types.
julia> svd(BigFloat.(rand(5,5)))
ERROR: MethodError: no method matching svdvals!(::Matrix{BigFloat})
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the BigFloat example for svd, svdvals, svdvals!, and rank, then trace their method dispatch and the handling of non-BlasReal types. Done means these entry points, including functions that use them internally, support BigFloat and the relevant non-primitive numeric types without the shown MethodError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100