File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,6 +72,9 @@ default_lq_algorithm(A; kwargs...) = default_lq_algorithm(typeof(A); kwargs...)
7272function default_lq_algorithm (T:: Type ; kwargs... )
7373 throw (MethodError (default_lq_algorithm, (T,)))
7474end
75+ function default_lq_algorithm (:: Type{T} ; kwargs... ) where {T <: AbstractMatrix }
76+ return Native_HouseholderLQ (; kwargs... )
77+ end
7578function default_lq_algorithm (:: Type{T} ; kwargs... ) where {T <: YALAPACK.MaybeBlasMat }
7679 return LAPACK_HouseholderLQ (; kwargs... )
7780end
Original file line number Diff line number Diff line change @@ -72,6 +72,9 @@ default_qr_algorithm(A; kwargs...) = default_qr_algorithm(typeof(A); kwargs...)
7272function default_qr_algorithm (T:: Type ; kwargs... )
7373 throw (MethodError (default_qr_algorithm, (T,)))
7474end
75+ function default_qr_algorithm (:: Type{T} ; kwargs... ) where {T <: AbstractMatrix }
76+ return Native_HouseholderQR (; kwargs... )
77+ end
7578function default_qr_algorithm (:: Type{T} ; kwargs... ) where {T <: YALAPACK.MaybeBlasMat }
7679 return LAPACK_HouseholderQR (; kwargs... )
7780end
You can’t perform that action at this time.
0 commit comments