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

Cannot use qr factorization with documented functionalities #1192

Open
denglerchr opened this issue Sep 7, 2023 · 1 comment
Open

Cannot use qr factorization with documented functionalities #1192

denglerchr opened this issue Sep 7, 2023 · 1 comment

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.

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