JuliaArrays / JuliaArrays/StaticArrays.jl

Cannot use qr factorization with documented functionalities

Open
#1,192 1 comment 2 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

The docs when using ?StaticArrays.qr in the Repl writes that: The following functions are available for the QR objects: inv, size, and \.
However, this seems to not be true for the array types in StaticArrays.

using StaticArrays

A = randn(4, 3)
b = randn(4)
StaticArrays.qr(A)\b # works fine

A_static = SMatrix{4, 3}(A)
b_static = SVector{4}(b)
StaticArrays.qr(A_static)\b_static # not working

It would be great to have this functionality implemented.

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 with the documented StaticArrays.qr functionality and run the supplied Julia reproduction comparing dynamic arrays with SMatrix and SVector. Inspect the QR support for static array types; done means StaticArrays.qr(A_static)\b_static works consistently with the documented operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.