@@ -394,34 +394,18 @@ function select_algorithm(::typeof(right_null!), A, ::Val{:svd}; trunc = nothing
394394 return RightNullViaSVD (alg)
395395end
396396
397- default_algorithm (:: typeof (left_orth!), A:: TA ; trunc = nothing , kwargs... ) where {TA} =
398- isnothing (trunc) ? select_algorithm (left_orth!, A, Val (:qr ); kwargs... ) :
399- select_algorithm (left_orth!, A, Val (:svd ); trunc, kwargs... )
400- # disambiguate
401397default_algorithm (:: typeof (left_orth!), :: Type{A} ; trunc = nothing , kwargs... ) where {A} =
402398 isnothing (trunc) ? select_algorithm (left_orth!, A, Val (:qr ); kwargs... ) :
403399 select_algorithm (left_orth!, A, Val (:svd ); trunc, kwargs... )
404400
405- default_algorithm (:: typeof (right_orth!), A:: TA ; trunc = nothing , kwargs... ) where {TA} =
406- isnothing (trunc) ? select_algorithm (right_orth!, A, Val (:lq ); kwargs... ) :
407- select_algorithm (right_orth!, A, Val (:svd ); trunc, kwargs... )
408- # disambiguate
409401default_algorithm (:: typeof (right_orth!), :: Type{A} ; trunc = nothing , kwargs... ) where {A} =
410402 isnothing (trunc) ? select_algorithm (right_orth!, A, Val (:lq ); kwargs... ) :
411403 select_algorithm (right_orth!, A, Val (:svd ); trunc, kwargs... )
412404
413- default_algorithm (:: typeof (left_null!), A:: TA ; trunc = nothing , kwargs... ) where {TA} =
414- isnothing (trunc) ? select_algorithm (left_null!, A, Val (:qr ); kwargs... ) :
415- select_algorithm (left_null!, A, Val (:svd ); trunc, kwargs... )
416- # disambiguate
417405default_algorithm (:: typeof (left_null!), :: Type{A} ; trunc = nothing , kwargs... ) where {A} =
418406 isnothing (trunc) ? select_algorithm (left_null!, A, Val (:qr ); kwargs... ) :
419407 select_algorithm (left_null!, A, Val (:svd ); trunc, kwargs... )
420408
421- default_algorithm (:: typeof (right_null!), A:: TA ; trunc = nothing , kwargs... ) where {TA} =
422- isnothing (trunc) ? select_algorithm (right_null!, A, Val (:lq ); kwargs... ) :
423- select_algorithm (right_null!, A, Val (:svd ); trunc, kwargs... )
424- # disambiguate
425409default_algorithm (:: typeof (right_null!), :: Type{A} ; trunc = nothing , kwargs... ) where {A} =
426410 isnothing (trunc) ? select_algorithm (right_null!, A, Val (:lq ); kwargs... ) :
427411 select_algorithm (right_null!, A, Val (:svd ); trunc, kwargs... )
0 commit comments