[Numpy-discussion] swig numpy2carray converters

Bill Spotz wfspotz at sandia.gov
Wed Nov 21 18:54:40 EST 2007


On Nov 21, 2007, at 10:07 AM, Georg Holzmann wrote:

> BTW: what is the difference between PyArray_SimpleNewFromData() and  
> PyArray_FromDimsAndData() ?
> (I don't have this book ...)

PyArray_SimpleNewFromData() is the new version and  
PyArray_FromDimsAndData() is the old version :-)

Travis may be able to better explain.

** Bill Spotz                                              **
** Sandia National Laboratories  Voice: (505)845-0170      **
** P.O. Box 5800                 Fax:   (505)284-0154      **
** Albuquerque, NM 87185-0370    Email: wfspotz at sandia.gov **







More information about the NumPy-Discussion mailing list