Skip to content
New issue

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

[BlockSparseArrays] Generalize matrix multiplication, dual the axes in adjoint #1480

Merged
merged 11 commits into from
May 31, 2024

Conversation

mtfishman
Copy link
Member

@mtfishman mtfishman commented May 31, 2024

This generalizes block sparse matrix multiplication to more cases, such as those involving Hermitian transposed matrices and dual axes.

Additionally, axes are now dualed in adjoint(::BlockSparseMatrix) so that the directions align in matrix multiplication operations such as a' * a.

Some issues with matrix multiplications involving dual axes may require #1479 for now. (EDIT: That was merged, and various kinds of matrix multiplications involving dual axes are working and are tested in this PR.)

This fixes some issues listed in #1336.

@mtfishman mtfishman changed the title [WIP] [BlockSparseArrays] Generalize matrix multiplication [BlockSparseArrays] Generalize matrix multiplication May 31, 2024
@mtfishman mtfishman marked this pull request as ready for review May 31, 2024 15:27
@mtfishman mtfishman changed the title [BlockSparseArrays] Generalize matrix multiplication [BlockSparseArrays] Generalize matrix multiplication, dual the axes in adjoint May 31, 2024
@mtfishman mtfishman merged commit e6cdf37 into main May 31, 2024
16 checks passed
@mtfishman mtfishman deleted the BlockSparseArrays_generalize_matmul branch May 31, 2024 19:46
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.

1 participant