[Numpy-discussion] Anyone have a well-tested SWIG-based C++ STL valarray <=> numpy.array typemap to share?

David Goldsmith David.L.Goldsmith@noaa....
Wed Sep 5 11:20:30 CDT 2007


Not presently, as the C++ code I need to wrap now is using the valarray 
class template (largely at my behest), though I (and I imagine others) 
might find this useful in the future.

DG

Bill Spotz wrote:
> I have been considering adding some C++ STL support to 
> numpy/doc/swig/numpy.i.  Probably std::vector<TYPE> <=> PyArrayObject 
> (and some std::complex<TYPE> support as well).  Is this what you had 
> in mind?
>
> On Sep 4, 2007, at 6:24 PM, David Goldsmith wrote:
>
>> Anyone have a well-tested SWIG-based C++ STL valarray <=> numpy.array
>> typemap to share?  Thanks!
>>
>> DG
>> -- 
>> ERD/ORR/NOS/NOAA 
>> <http://response.restoration.noaa.gov/emergencyresponse/>
>> _______________________________________________
>> Numpy-discussion mailing list
>> Numpy-discussion@scipy.org
>> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
> ** Bill Spotz                                              **
> ** Sandia National Laboratories  Voice: (505)845-0170      **
> ** P.O. Box 5800                 Fax:   (505)284-5451      **
> ** Albuquerque, NM 87185-0370    Email: wfspotz@sandia.gov **
>
>
>

-- 
ERD/ORR/NOS/NOAA <http://response.restoration.noaa.gov/emergencyresponse/>


More information about the Numpy-discussion mailing list