On 14 Aug 2013 14:37, "Hugo Gagnon" <[email protected]>
wrote:
>
> 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.

There isn't really any reliable way to do this.

-n
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to