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
function_gla_householder_qr!(A::AbstractMatrix, Q, R; positive =false, blocksize =1, pivoted =false)
76
81
pivoted &&throw(ArgumentError("Only pivoted = false implemented for GLA_HouseholderQR."))
77
82
(blocksize ==1) ||throw(ArgumentError("Only blocksize = 1 implemented for GLA_HouseholderQR."))
@@ -109,6 +114,21 @@ function _gla_householder_qr!(A::AbstractMatrix, Q, R; positive = false, blocksi
109
114
return Q, R
110
115
end
111
116
117
+
function_gla_householder_qr_null!(
118
+
A::AbstractMatrix, N::AbstractMatrix;
119
+
positive =false, blocksize =1, pivoted =false
120
+
)
121
+
pivoted &&throw(ArgumentError("Only pivoted = false implemented for GLA_HouseholderQR."))
122
+
(blocksize ==1) ||throw(ArgumentError("Only blocksize = 1 implemented for GLA_HouseholderQR."))
123
+
m, n =size(A)
124
+
minmn =min(m, n)
125
+
fill!(N, zero(eltype(N)))
126
+
one!(view(N, (minmn +1):m, 1:(m - minmn)))
127
+
Q̃, =qr!(A)
128
+
lmul!(Q̃, N)
129
+
return N
130
+
end
131
+
112
132
function MatrixAlgebraKit.default_lq_algorithm(::Type{T}; kwargs...) where {T <:StridedMatrix{<:Union{Float16, ComplexF16, BigFloat, Complex{BigFloat}}}}
0 commit comments