We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
*(::SparseMatrixCSC, ::Diagonal)
julia> X = speye(3) 3x3 sparse matrix with 3 Float64 entries: [1, 1] = 1.0 [2, 2] = 1.0 [3, 3] = 1.0 julia> y = Diagonal([1.0, 2.0, 3.0]) 3x3 Diagonal{Float64}: 1.0 0.0 0.0 0.0 2.0 0.0 0.0 0.0 3.0 julia> X*y ERROR: MethodError: `*` has no method matching *(::SparseMatrixCSC{Float64,Int64}, ::Diagonal{Float64}) Closest candidates are: *(::Any, ::Any, ::Any, ::Any...) *{T<:Number}(::T<:Number, ::Diagonal{T}) *(::Diagonal{T}, ::Diagonal{T}) ...
The text was updated successfully, but these errors were encountered:
Ref: JuliaLang/LinearAlgebra.jl#136
Sorry, something went wrong.
Added sparse*diagonal, diagonal*sparse methods and tests. Fixes #14416.
0212afc
fa7dfaf
f34a8b8
6b607e0
Merge pull request #14461 from JuliaLang/ksh/sparsediag
3642c96
No branches or pull requests
The text was updated successfully, but these errors were encountered: