-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speed of multiplication of Diagonal #19
Comments
Could LazyArrays.jl/src/linalg/blasmul.jl Line 145 in 4559ba2
LazyArrays.jl/src/linalg/blasmul.jl Line 162 in 4559ba2
mul! instead?
Or should |
No. The whole point is to support the 5-argument version (αAx + β*y) which |
Ok, I understand. Which functions need to be specialised for |
It loosely follows the broadcast interface, so you need to
Banded matrices give a nice example: https://github.com/JuliaMatrices/BandedMatrices.jl/blob/master/src/generic/matmul.jl Note that many cases first lower to the 5-argument version |
This is closer to being fixed, though now the issue is that its creating a (slow) julia> apply(*,d,d) |> typeof
SparseMatrixCSC{Float64,Int64} And we still neeed a special |
This has probably been fixed and is now in ArrayLayouts.jl |
The Mul of two
Diagonal
s might create a full matrix somewhere when applied to a vector.The text was updated successfully, but these errors were encountered: