Skip to content

Commit

Permalink
Update help info for qr.jl (#55320)
Browse files Browse the repository at this point in the history
'Rather than' seems to be the correct intent of the help info. This
would mean that Julia stores the result of QR in compact form instead of
(=rather than) storing in dense form.

'Rather as' would mean that Julia stores Q and R in two separate dense
matrices and not in compact form.
  • Loading branch information
igrqb authored Jul 31, 2024
1 parent 8d41d25 commit d64ebd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/LinearAlgebra/src/qr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ true
`qr` returns multiple types because LAPACK uses several representations
that minimize the memory storage requirements of products of Householder
elementary reflectors, so that the `Q` and `R` matrices can be stored
compactly rather as two separate dense matrices.
compactly rather than two separate dense matrices.
"""
function qr(A::AbstractMatrix{T}, arg...; kwargs...) where T
require_one_based_indexing(A)
Expand Down

0 comments on commit d64ebd3

Please sign in to comment.