GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — Add `matrix.power` to compute e.g. `A @ A @ A @ ...` by eriknw · Pull Request #483 · python-graphblas/python-graphblas Conversation
Member
This uses #481 (and is actually why I made #481). I still need to write the docstring. I tried to make this efficient by performing repeated squaring. For example, for cur = op(A @ A).new() cur << op(cur @ cur) updater << op(cur @ cur) This makes the implementation a little... uh... not obvious, but it works well.
I decided to require This method will let us easily and efficiently implement
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
coverage: 99.414% (+0.2%) from 99.206% when pulling 60a1d44 on eriknw:power into 3476731 on python-graphblas:main. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.