[Numpy-discussion] numarray: PyArrayObject supports number protocols?

Perry Greenfield perry at stsci.edu
Tue Aug 2 12:54:13 EDT 2005


On Jul 31, 2005, at 11:56 PM, Edward C. Jones wrote:

> I just saw in the docs, Section 14.2.4:
>
> It should be noted that unlike earlier versions of numarray, the 
> present PyArrayObject structure is a first class python object, with 
> full support for the number protocols in C.
>
> Does this mean that I can add two numarrays in C using "PyNumber_Add"?
>
Todd is away for a few days, and I haven't found the actual support for 
this in the code, so I'm going to wait until he's back for a definitive 
answer.

Perry





More information about the NumPy-Discussion mailing list