From: Edward C. J. <edc...@er...> - 2002-12-13 16:33:27
|
I am currently learning about numarray. Here are further comments on the documentation. ---------------------- "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*". |