You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia> F =lqfact(randn(3, 4));
julia> iL, iQ = F[:L], F[:Q];
julia> iL * iQ
ERROR:DimensionMismatch("for a right-sided multiplication, the second dimension of C, 4, must equal the first dimension of A, 3")
Stacktrace:
[1] ormlq!(::Char, ::Char, ::Array{Float64,2}, ::Array{Float64,1}, ::Array{Float64,2}) at ./linalg/lapack.jl:2609
[2] *(::Array{Float64,2}, ::Base.LinAlg.LQPackedQ{Float64,Array{Float64,2}}) at ./linalg/lq.jl:169
julia>size(iL), size(iQ)
((3, 3), (3, 4))
In this multiplication context, iQ behaves like its square form whereas it should behave like its thin form. (size reports the shape of iQ's thin form.) (Edit: On further investigation, not quite. The multiplication method this call initially hits correctly zero-pads iL to shape (3, 4), but ormlq! then applies incorrect shape checks?) Best!
The text was updated successfully, but these errors were encountered:
In this multiplication context,(Edit: On further investigation, not quite. The multiplication method this call initially hits correctly zero-padsiQ
behaves like its square form whereas it should behave like its thin form. (size
reports the shape ofiQ
's thin form.)iL
to shape(3, 4)
, butormlq!
then applies incorrect shape checks?) Best!The text was updated successfully, but these errors were encountered: