void * C array to a Numpy array using Swig
Travis E. Oliphant
oliphant.travis at ieee.org
Thu Jan 12 20:01:39 EST 2006
Philip Austin wrote:
> "Travis E. Oliphant" <oliphant.travis at ieee.org> writes:
>
>
>>Krish wrote:
>
>
>>Yes, you are right that you need to use typemaps. It's been awhile
>>since I did this kind of thing, but here are some pointers.
>
>
> Also, there's http://geosci.uchicago.edu/csc/numptr
>
This is interesting.
I've noticed his getpointerX functions seem to be implemented already by
PyArray_AsCArray in the new NumPy.
-Travis
More information about the Python-list
mailing list