The Unclear Impact

The hard part is finding a language that can handle both sparse matrices and semirings.

@JadeMasterMath GraphBLAS seems to be targeted at something like this. There are two Python wrappers, python-graphblas and pygraphblas. People in my lab used to use & contribute to pygraphblas for a bit. But as of now, I think python-graphblas is the better maintained library and it has support for accelerated matrix computations custom data types and (semiring) operations: https://python-graphblas.readthedocs.io/en/stable/user_guide/types.html#user-defined-types and https://python-graphblas.readthedocs.io/en/stable/user_guide/udf.html#user-defined-functions

@JadeMasterMath asked one of the guys who were working on GraphBLAS stuff: he says you’ll need python-graphblas for custom semirings, but he haven’t tried (built-in stuff covered most of our use-cases, I think)

replies
1
announces
0
likes
1

@kristof 👀 thanks! 🙏