[Numpy-discussion] subclass

Francesc Altet faltet at carabos.com
Fri Dec 1 06:54:38 CST 2006


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 is a complete section dedicated to this ('Subtyping the ndarray
in C', chapter 15) in Travis' Guide to NumPy [1].

[1] http://www.tramy.us/

Cheers,

-- 
>0,0<   Francesc Altet     http://www.carabos.com/
V   V   Cárabos Coop. V.   Enjoy Data
 "-"



More information about the Numpy-discussion mailing list