Timeline for Speeding up v.Reverse[v] or ListConvolve[v,v]
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 7 at 17:07 | comment | added | Alexander Perlis | Ah yes, pulling out the 2 increases performance! On symbolic expressions this introduces the typically insignificant distinction 2(bc+ad) versus 2bc+2ad, while on numeric expressions a possible change in roundoff doesn't matter because the various OP versions anyhow probably already disagreed in that regard. | |
| Apr 29 at 21:48 | answer | added | Michael E2 | timeline score: 6 | |
| Apr 27 at 18:36 | comment | added | Michael E2 | Try f4i with With[{hs = s/2}, 2 First@ListConvolve[Take[v, hs], Take[v, -hs]]]. Similarly for f3i. | |
| Apr 27 at 2:25 | history | became hot network question | |||
| Apr 26 at 19:19 | answer | added | Henrik Schumacher | timeline score: 8 | |
| Apr 26 at 18:20 | history | asked | Alexander Perlis | CC BY-SA 4.0 |