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

multiplication of sparse triangular matrices #35609 #35610 #35642 #35659

Merged
merged 3 commits into from
Jun 1, 2020
Merged

multiplication of sparse triangular matrices #35609 #35610 #35642 #35659

merged 3 commits into from
Jun 1, 2020

Conversation

KlausC
Copy link
Contributor

@KlausC KlausC commented Apr 30, 2020

Fixes #35609
Fixes #35610
Fixes #35642
Multiplying a sparse triangular matrix with a sparse matrix now is possible.
The result type is a triangular sparse matrix or a sparse matrix.
Multiplying a sparse triangular matrix with a sparse vector now yields a sparse vector.

@KlausC
Copy link
Contributor Author

KlausC commented May 7, 2020

bump

@KlausC
Copy link
Contributor Author

KlausC commented May 13, 2020

@dkarrasch , is there a chance that somebody reviews this PR?

@StefanKarpinski
Copy link
Sponsor Member

It would be great to get this reviewed. I'm afraid I'm not really qualified though.

Copy link
Member

@dkarrasch dkarrasch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, very impressive work. It took me quite a while to figure out all the nnz, nonzeros etc for the different views and all that. I think it would be really helpful to explicitly test them with a hand-written sparse matrix/vector à la sparse(I, J, V, 10, 10) or sparsevec(I, V). In case anyone comes back and reviews this code again, having such a small example would help to understand quicker what the expected outcome should be.

@KlausC
Copy link
Contributor Author

KlausC commented May 27, 2020

Shall I add test cases?

@dkarrasch
Copy link
Member

Shall I add test cases?

That would be fantastic, yes.

@KlausC
Copy link
Contributor Author

KlausC commented Jun 1, 2020

forgetmenot

@StefanKarpinski StefanKarpinski merged commit cfb9b55 into JuliaLang:master Jun 1, 2020
@KlausC KlausC deleted the krc/sparsemult branch June 1, 2020 19:58
simeonschaub pushed a commit to simeonschaub/julia that referenced this pull request Aug 11, 2020
…g#35610 JuliaLang#35642 (JuliaLang#35659)

* multiplication of sparse triangular matrices
* removed disambiguity and improved test cases
* test cases for `nnz, nzrange, rowvals, nonzeros`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants