-
Notifications
You must be signed in to change notification settings - Fork 17
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
Iterating over nonzero elements of a GBMatrix sparse matrix #70
Comments
There will be in the next release, likely Monday next week. It won't be an exported part of the interface yet, though, since the interface may change between releases. Next week you'll be able to iterate by nz values by row (if GBMatrix is by-row), and by column (if GBMatrix is by-col). A fuller interface will likely come with the revival of ArrayIteration.jl in the next month or so. |
For |
@Wimmerer Thank you! Was the functionality you mentioned included in |
Sorry this is not ready yet, I'll try to get it out this week. It slipped my mind. |
Is there any convenient accessor through Julia to iterate over the nonzero elements of a
GBMatrix
, with the full triplet information(i,j,v)
instead ofv
alone? Similar to theSparseArrays
package, i.e.,This shall be useful when the
(i,j)
information is needed with themap
orapply
functionality.Thank you for integrating the
GraphBLAS
into theJulia
ecosystem!The text was updated successfully, but these errors were encountered: