You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add indtype and nnz definitions for SparseColumnView
* Handle sparse outer products specially in broadcast
* Add specialized kron for sparse outer products
* Add tests
* Support unitful types
* Address review comments.
* Change is_specialcase_sparse_broadcast -> can_skip_sparsification.
* Lift parent(y) to one function earlier for clarify
* Simply call _copy instead of passing through the broadcast machinery again
kron(A::VecOrMat, B::Union{SparseVector,SparseMatrixCSC}) =kron(sparse(A), B)
1200
1200
1201
+
# sparse outer product
1202
+
kron(A::SparseVectorUnion, B::AdjOrTransSparseVectorUnion) = A .* B
1203
+
1201
1204
## det, inv, cond
1202
1205
1203
1206
inv(A::SparseMatrixCSC) =error("The inverse of a sparse matrix can often be dense and can cause the computer to run out of memory. If you are sure you have enough memory, please convert your matrix to a dense matrix.")
0 commit comments