-
Couldn't load subscription status.
- Fork 234
Generalize fast sum of powers for any length, not just power-of-two #62
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
base: main
Are you sure you want to change the base?
Conversation
5a3892a to
106ca9d
Compare
|
very cool - LGTM. |
|
Is there a reason to do this instead of using the identity It costs one inversion, but it's simple, and for the case that |
|
Doesn't one inversion cost ≈200 multiplications? This implementation does |
|
But i did not know about |
|
Cool, I'm convinced this works but I'm not sure I understand why yet, so I'm working on some notes right now. |
e77e18a to
612a107
Compare
|
The power-of-two recurrence is really nicely explained and it makes sense, but I don't understand why the recurrence for general |
612a107 to
944b5c2
Compare
b370f33 to
4a2db80
Compare
4a2db80 to
6f30386
Compare
|
I just rebased this on In fact, only RP code requires this helper, and in RP the input is always a power-of-two. For circuits, the |
No description provided.