JuliaArrays / JuliaArrays/StaticArrays.jl

Stop having StaticArrays-specific `LU` and `QR` implementations

Open
#1,031 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
844
Forks
159
Avg merge
3d 21h
Merged PRs (30d)
3

Description

After https://github.com/JuliaLang/julia/pull/42594, we should in principle be able to return LinearAlgebra.LU instead of StaticArrays.LU from lu (similarly for qr). It's not immediately swappable though, since LinearAlgebra.LU stores the factors while StaticArrays currently stores the L and U matrices explicitly.

Would be nice to get rid of these, to obviate the need to include them in a "core" package (cf. https://github.com/JuliaArrays/StaticArrays.jl/issues/1023#issuecomment-1133756057).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the lu and qr entry points and compare StaticArrays.LU and StaticArrays.QR with LinearAlgebra.LU and the corresponding standard QR type. Determine how the stored factors can be represented by the standard types; done means lu and qr no longer return StaticArrays-specific factorization types and the core-package dependency is no longer needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.