29 Sep
2010
29 Sep
'10
10:41 p.m.
I propose the name 'gather()' for the helper function that does this.
I don't think "gather" is an obvious name to search for.
"gather" is the name that the GPGPU community uses to describe this kind of operation. Not just for summation but for any kind of indexed reducing operation.
gather(a,to_indices, b, from_indices, reduce_op)