From: Todd M. <jm...@st...> - 2004-02-25 13:57:18
|
On Tue, 2004-02-24 at 02:48, Antti Korvenoja wrote: > Dear numarray developers, > > What would be the recommended class to inherit from if one wants to derive a > new class from numarray array? In other words, what would be similar to > UserArray in Numeric (NDArray, NumArray)? Try subclassing NumArray. You might want to look at PyMatrix to see a practical example of how it can be done. I should forewarn you that although numarray uses new style classes, it's sub-classibility is less than perfect. Todd -- Todd Miller <jm...@st...> |