@@ -157,14 +157,17 @@ end
157157
158158# TODO : uncomment out. commented for now due to ambiguities
159159# LinearAlgebra.lmul!(Q::AbstractQ, v::LayoutVecOrMats) = lmul!(Q, v)
160+ # LinearAlgebra.rmul!(A::LayoutMatrices, Q::AbstractQ) = rmul!(A, Q)
160161
161162for Typ in (:QRCompactWYQ , :QRPackedQ )
162163 @eval begin
163164 LinearAlgebra. lmul! (Q:: $Typ{<:Any,<:LayoutMatrix} , v:: LayoutVecOrMats ) = lmul! (Q, v)
164165 LinearAlgebra. lmul! (Q:: $Typ{<:Any,<:LayoutMatrix} , v:: AbstractVecOrMat ) = lmul! (Q, v)
165166 LinearAlgebra. lmul! (Q:: AdjointQ{<:Any,<:$Typ{<:Any,<:LayoutMatrix}} , v:: LayoutVecOrMats ) = lmul! (Q, v)
166167 LinearAlgebra. lmul! (Q:: AdjointQ{<:Any,<:$Typ{<:Any,<:LayoutMatrix}} , v:: AbstractVecOrMat ) = lmul! (Q, v)
168+ LinearAlgebra. rmul! (V:: LayoutMatrices , Q:: $Typ{<:Any,<:LayoutMatrix} ) = rmul! (V, Q)
169+ LinearAlgebra. rmul! (V:: AbstractMatrix , Q:: $Typ{<:Any,<:LayoutMatrix} ) = rmul! (V, Q)
170+ LinearAlgebra. rmul! (V:: LayoutMatrices , Q:: AdjointQ{<:Any,<:$Typ{<:Any,<:LayoutMatrix}} ) = rmul! (V, Q)
171+ LinearAlgebra. rmul! (V:: AbstractMatrix , Q:: AdjointQ{<:Any,<:$Typ{<:Any,<:LayoutMatrix}} ) = rmul! (V, Q)
167172 end
168173end
169-
170- LinearAlgebra. rmul! (A:: LayoutMatrices , Q:: AbstractQ ) = rmul! (A, Q)
0 commit comments