Skip to content

Cannot use qr factorization with documented functionalities #1192

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

Open
denglerchr opened this issue Sep 7, 2023 · 1 comment · May be fixed by #1300
Open

Cannot use qr factorization with documented functionalities #1192

denglerchr opened this issue Sep 7, 2023 · 1 comment · May be fixed by #1300

Comments

@denglerchr
Copy link

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.

@ojwoodford
Copy link

Yes, very surprised to find this doesn't work. Also ldiv! would be great.

gustafsson added a commit to gustafsson/StaticArrays.jl that referenced this issue Mar 28, 2025
@gustafsson gustafsson linked a pull request Mar 28, 2025 that will close this issue
gustafsson added a commit to gustafsson/StaticArrays.jl that referenced this issue Mar 28, 2025
gustafsson added a commit to gustafsson/StaticArrays.jl that referenced this issue Apr 1, 2025
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.

2 participants