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 22352de commit 62d285fCopy full SHA for 62d285f
src/conversion.jl
@@ -165,3 +165,6 @@ function SparseArrays.sparse(L::KroneckerSumMap)
165
IB = sparse(Diagonal(ones(Bool, size(B, 1))))
166
return kron(convert(AbstractMatrix, A), IB) + kron(IA, convert(AbstractMatrix, B))
167
end
168
+
169
+# FillMap
170
+Base.Matrix(A::FillMap) = fill(A.λ, size(A))
0 commit comments