[Numpy-discussion] ANN: I wrote some Numpy + SWIG + MinGW simple examples

Søren Nielsen soren.skou.nielsen at gmail.com
Fri Nov 14 04:30:00 EST 2008


Hi Egor,

Thanks for a very nice tutorial! Have you tried doing manipulations with 2D
arrays?? or do you know how to tackle it?

Regards,
Soren

On Fri, Nov 14, 2008 at 12:32 AM, Egor Zindy <ezindy at gmail.com> wrote:

> Hello list!
>
> To get my head round the numpy.i interface for SWIG, I wrote some simple
> examples and documented them as much as possible. The result is here:
>
> http://code.google.com/p/ezwidgets/wiki/NumpySWIGMinGW
>
> I finally got round testing ARGOUTVIEW_ARRAY1 today, so it's time to ask
> for some feedback.
>
> Questions I still have:
> * Any way of doing array_out = function(array_in) without using
> ARGOUTVIEW_ARRAY1?
> * Any clean way of generating an exception on failed memory allocations?
>
> Hope this helps someone else... and thank you Bill Spotz for your
> original article and comments!
>
> Regards,
> Egor
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20081114/7253d4fc/attachment.html>


More information about the NumPy-Discussion mailing list