[Numpy-discussion] swig numpy2carray converters

Bill Spotz wfspotz@sandia....
Wed Nov 21 17:54:40 CST 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@sandia.gov **






More information about the Numpy-discussion mailing list