Arg! I really didn't see that! thanks Le Vendredi 01 Décembre 2006 12:58, Pierre GM a écrit :
On Friday 01 December 2006 06:19, Lionel Roubeyrie wrote:
Hi all, is it possible to subclass numpy.array to set extras functionalities and change the behavior of others? I can't find any docs on that.
Did you really look ;) ? http://www.scipy.org/Subclasses
Check also the new implementation of MaskedArray, where masked arrays are implemented as subclass of ndarrays http://projects.scipy.org/scipy/numpy/wiki/MaskedArray.
If you have some particular features in mind, let us know. P. _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
-- Lionel Roubeyrie - lroubeyrie@limair.asso.fr LIMAIR http://www.limair.asso.fr