[Numpy-discussion] accumulating version of numpy.put?

Frank Horowitz frank at horow.net
Fri May 19 12:13:12 EDT 2017


Hi All,

In the numpy library, are there any equivalences of numpy.put to additively store the values rather than simply overwriting?

Alternatively, would there be significant speed penalties to code of the form

a.flat[ind] += v 

Thanks in advance for any help you might be able to provide!

Frank Horowitz



More information about the NumPy-Discussion mailing list