[Numpy-discussion] Setter on array

Hugo Gagnon opensource.numpy@user.fastmail...
Wed Aug 14 08:34:56 CDT 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