![](https://secure.gravatar.com/avatar/d6bd45093c46a87b96a52031ef3755bd.jpg?s=120&d=mm&r=g)
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)? -Antti Korvenoja
![](https://secure.gravatar.com/avatar/faf9400121dca9940496a7473b1d8179.jpg?s=120&d=mm&r=g)
On Tue, 2004-02-24 at 02:48, Antti Korvenoja wrote:
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 <jmiller@stsci.edu>
![](https://secure.gravatar.com/avatar/faf9400121dca9940496a7473b1d8179.jpg?s=120&d=mm&r=g)
On Tue, 2004-02-24 at 02:48, Antti Korvenoja wrote:
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 <jmiller@stsci.edu>
participants (2)
-
Antti Korvenoja
-
Todd Miller