Generalize fast sum of powers for any length, not just power-of-two#62
Generalize fast sum of powers for any length, not just power-of-two#62
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.