[Numpy-discussion] Setter on array

Hugo Gagnon opensource.numpy at user.fastmail.fm
Wed Aug 14 09:34:56 EDT 2013


Hi,

What is the best way, if any, to "do something" whenever array elements
are changed in-place?  For example, if I have a = arange(10), then
setting a[3] = 1 would, say, call a function automatically.

Thanks,
-- 
  Hugo Gagnon



More information about the NumPy-Discussion mailing list