We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90c600d commit 611ada9Copy full SHA for 611ada9
src/conversion.jl
@@ -171,3 +171,6 @@ function SparseArrays.sparse(L::KroneckerSumMap)
171
IB = sparse(Diagonal(ones(Bool, size(B, 1))))
172
return kron(convert(AbstractMatrix, A), IB) + kron(IA, convert(AbstractMatrix, B))
173
end
174
+
175
+# FillMap
176
+Base.Matrix(A::FillMap) = fill(A.λ, size(A))
0 commit comments