Skip to content

Add x.ss.iter{keys,values,items} - #201

Merged
eriknw merged 5 commits into
python-graphblas:mainfrom
eriknw:iterators
Apr 11, 2022
Merged

eriknw merged 5 commits into
python-graphblas:mainfrom
eriknw:iterators

Conversation

@eriknw

@eriknw eriknw commented Apr 5, 2022

Copy link
Copy Markdown
Member

I've been sitting on this for a while, so I thought I'd push this up.
I still need to read the documentation more closely. Also,
SuiteSparse:GraphBLAS provides even more iteration functionality.

This should make x.ss.iso_value even faster, which can speed up PageRank 🎉 . Speaking of, this changes the return type of x.ss.iso_value from Scalar to a Python scalar. Meh.

eriknw added 5 commits April 5, 2022 16:11
I've been sitting on this for a while, so I thought I'd push this up.
I still need to read the documentation more closely.  Also,
SuiteSparse:GraphBLAS provides even more iteration functionality.
@eriknw

eriknw commented Apr 11, 2022

Copy link
Copy Markdown
Member Author

Alright, I think this is finished and ready for review.

This doesn't expose row iterators and column iterators for matrices, but I'm not really sure what those would be good for. So, I think it's fine to punt for now.

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.

2 participants