You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Updating the docs to reflect the .ss namespace #490
Hello @eriknw, thanks for your help with pointing me to the .ss namespace for methods such as flatten() and reshape().
I have since found some implementations examples in your unit-test located here: ./graphblas/tests/test_matrix.py:. It seems to cover exactly what we are looking for and appears to work the same as scipy.sparse. There is even support for Fortran order flattening :).
I was simply wondering if we could reflect some of these methods in the docs? And perhaps expand a bit more on the .ss namespace? The only place where I could find mentions of the namespace is here. And the API reference doesn't seem to cover the namespace either.
And I agree that it would be great if these were documented on the docs website. Any chance I could talk you into making a PR? ;) I'd be happy to answer questions and help out as I'm able.
Yes, I'd be happy to make PR.
I was wondering also, how can we adjust the suite-sparse settings? For example, we are considering defaulting to using csc matrices instead of csr.
Activity
eriknw commentedon Aug 11, 2023
You bet! Glad they work.
And I agree that it would be great if these were documented on the docs website. Any chance I could talk you into making a PR? ;) I'd be happy to answer questions and help out as I'm able.
Also related: #428
eriknw commentedon Aug 11, 2023
I'll raise this issue in our next weekly meeting.
Transurgeon commentedon Aug 11, 2023
Yes, I'd be happy to make PR.
I was wondering also, how can we adjust the suite-sparse settings? For example, we are considering defaulting to using csc matrices instead of csr.
eriknw commentedon Aug 11, 2023
Awesome ❤️ !
To change default orientation (which is rowwise), do:
To change the orientation of a single Matrix, do:
To see details of the config options, I usually look in IPython via
gb.ss.config?orA.ss.config?or e.g.help(gb.ss.config).