JuliaLang / Compat.jl

Compatibility across Julia versions
Other
145 stars 117 forks source link

5-arg mul!s? #681

Closed jagot closed 3 years ago

jagot commented 4 years ago

Should the 5-arg mul!s be included in Compat.jl, i.e. mul!(w, A, b, α=1, β=0)? I would like to start writing code like this, but retain compatibility with Julia 1.x, x < 3.

oxinabox commented 3 years ago

would it be acceptable to put in a very naive version of it?

jagot commented 3 years ago

Actually, I basically dropped Julia < 1.5, so naive works for me :)