[Numpy-discussion] Numpy and C++ integration...
Bill Spotz
wfspotz at sandia.gov
Mon Feb 4 12:24:49 EST 2008
On Feb 4, 2008, at 9:39 AM, Matthieu Brucher wrote:
> This can be avoided, but you'll have to use more powerful tools. I
> would advice SWIG (see my blog for some examples with C++ and SWIG).
Note that a lot of work has been done to bridge between numpy and
swig. There is a swig interface file for numpy in numpy/doc/swig,
along with documentation on how to use it. It is largely geared
towards generating wrappers to C/C++ functions that take pointers to
arrays. If your data is encapsulated within a C++ class, then it
gets more complicated.
** 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