[Numpy-discussion] Comments on Documentation - 2

Edward C. Jones edcjones at erols.com
Fri Dec 13 08:34:02 EST 2002

I am currently learning about numarray. Here are further comments on the 


"libnumarray.h" and "numarray.h" are never mentioned in the docs.


10.2.3 Is "free(result)" needed here?

         double *result;
         int m, n;
         result = func(...);
         if(NULL == result)
             return NULL;
         return NA_New((void *)result, tFloat64, m, n, 2);


10.6 "NA_New", "NA_Empty", and "NA_NewA11" return a "PyArrayObject*", 
not a "PyObject*".

More information about the NumPy-Discussion mailing list