IterativeSolvers.jl
IterativeSolvers.jl copied to clipboard
Bring back 5-arg `mul!` to lsmr
In #205 I have temporarily removed the 5-argument mul!(y, A, x, a, b) calls from lsmr, since there is no implementation for dense A. It worked becauselsmr implemented it itself, but I guess nobody wants IterativeSolvers.jl to extend LinearAlgebra.mul!.
Let's wait till we have the 5-argument mul! in LinearAlgebra and bring it back to lsmr only then.
Not sure this is ever coming back. We may want to consider using LinearAlgebra.BLAS.gemv! instead.
Please avoid calling the BLAS wrappers directly if possible. It would be better to call a generic version.
it is endlessly frustrating that we don't have an efficient generic in-place 5 argument mul! in Julia
https://github.com/JuliaLang/julia/pull/29634 has been merged (huzzah!)
hence we can now use 5-arg mul!