|
From: Alan W. I. <ir...@be...> - 2012-01-10 21:14:30
|
On 2012-01-10 11:18-0800 Nickolas Fotopoulos wrote: > Alan, > > I am quite a novice with SWIG, but I believe that colleagues have > successfully used this numpy.i file to cleanly get numpy arrays out of > C routines: > > <http://docs.scipy.org/doc/numpy/reference/swig.html> > Hi Nick: Thanks very much for your response! The above documentation and the numpy.i file itself (which for the record is available at https://github.com/numpy/numpy/blob/55472ca381c472d86ebb899cb2d786e8e9be8ba5/doc/swig/numpy.i) seem to be extremely promising leads. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |