[Numpy-discussion] Subclass awareness of outer, inner, dot, ...

2016-01-06 Thread Marten van Kerkwijk
Hi All, Having just had a look at functions where astropy's quantities are silently converted to ndarray, I came across some that, in principle, are easy to solve, yet for which, as always, there is a worry about backward compatibility. So, the question arises what to do. As a specific example, c

Re: [Numpy-discussion] subclass

2006-12-01 Thread Lionel Roubeyrie
I search to handle time series by associating dates to a masked array, but no set (directly) computation (sum, max, ...) on dates and have the possibility to search/select datas entries by date. Le Vendredi 01 Décembre 2006 13:54, Francesc Altet a écrit : > If what you want is extending the func

Re: [Numpy-discussion] subclass

2006-12-01 Thread Lionel Roubeyrie
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 doc

Re: [Numpy-discussion] subclass

2006-12-01 Thread Francesc Altet
A Divendres 01 Desembre 2006 12:19, Lionel Roubeyrie escrigué: > 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. > Thanks If what you want is extending the functionality of ndarray at C level, there

Re: [Numpy-discussion] subclass

2006-12-01 Thread Pierre GM
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

[Numpy-discussion] subclass

2006-12-01 Thread Lionel Roubeyrie
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. Thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] LIMAIR http://www.limair.asso.fr ___ Numpy-discussion mailing