Skip to content

Review of matprod_dest behaviour with sparse factors#693

Open
dkarrasch wants to merge 1 commit intomainfrom
dk/cleanup-matprod_dest
Open

Review of matprod_dest behaviour with sparse factors#693
dkarrasch wants to merge 1 commit intomainfrom
dk/cleanup-matprod_dest

Conversation

@dkarrasch
Copy link
Copy Markdown
Member

This intends to fix the unexpected matrix return type behaviour observed in #685 (comment). The goal is determine the return type by the (potentially) non-sparse factor. For BandedMatrix types, however, the return type should be sparse, since these are themselves "sparse".

I can't seem to be able to run tests, but it seems that this yields a major speed-up in multiplication, and so fixes #685 (to be confirmed).

@dkarrasch
Copy link
Copy Markdown
Member Author

This obviously changes return types and is therefore not for backport (except for v1.13?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extremely slow matrix multiplication with Hermitian{T, SparseMatrixCSC{T, I}} and Symmetric{T, SparseMatrixCSC{T, I}}.

1 participant