>>> 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)
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to