-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Clarify the role of pivoting in QR factorization #29976
Conversation
stdlib/LinearAlgebra/src/qr.jl
Outdated
@@ -318,7 +318,9 @@ Iterating the decomposition produces the components `Q`, `R`, and if extant `p`. | |||
|
|||
The following functions are available for the `QR` objects: [`inv`](@ref), [`size`](@ref), | |||
and [`\\`](@ref). When `A` is rectangular, `\\` will return a least squares | |||
solution and if the solution is not unique, the one with smallest norm is returned. | |||
solution and if the solution is not unique, the one with smallest norm is returned. When | |||
`A` is not full rank, factorization with (column) pivoting is required to obtain a finite |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about the "finite norm solution" part here. I'd expect it to be a "unique solution" or "minimum norm solution".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. After I submitted it, I also thought it was badly formulated. I will change it when I get home.
You mean backporting to the docs of v1.0.1? If so and you don't mind, I can do that. |
@mzaffalon You don't have to do anything here. I believe the process is mostly automated at this point once an issue has been marked for backporting. |
* Clarify the role of pivoting in QR factorization Ref: https://discourse.julialang.org/t/left-matrix-division-with-singular-matrix/15503 * Update qr.jl (cherry picked from commit e5e6b64)
* Clarify the role of pivoting in QR factorization Ref: https://discourse.julialang.org/t/left-matrix-division-with-singular-matrix/15503 * Update qr.jl (cherry picked from commit e5e6b64)
* Clarify the role of pivoting in QR factorization Ref: https://discourse.julialang.org/t/left-matrix-division-with-singular-matrix/15503 * Update qr.jl (cherry picked from commit e5e6b64)
* Clarify the role of pivoting in QR factorization Ref: https://discourse.julialang.org/t/left-matrix-division-with-singular-matrix/15503 * Update qr.jl (cherry picked from commit e5e6b64)
Ref: https://discourse.julialang.org/t/left-matrix-division-with-singular-matrix/15503