[Numpy-discussion] subclassing matrix
Stefan van der Walt
stefan@sun.ac...
Sat Jan 12 17:13:49 CST 2008
On Sat, Jan 12, 2008 at 01:24:31PM -0800, Basilisk96 wrote:
[...]
> When is __array_finalize__ called? By adding some print traces, I can
> see it's called every time an array is modified in any way i.e.,
> reshaped, transposed, etc., and also during operations like u+v, u-v,
> A*u. But it's not called during the call to numpy.cross. Why?
Take a look at
http://www.scipy.org/Subclasses
for more detail.
Regards
Stéfan
More information about the Numpy-discussion
mailing list