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

Egor Zindy ezindy@gmail....
Fri Nov 14 03:44:15 CST 2008


Hi Soren,

I noticed the same thing about my document, nothing about 2-D arrays 
yet! I will try and write some examples using the same document 
structure (argout, inplace and argoutview) and then condense the 
document (for instance, no need for a separate setup.py for each example).

Regards,
Egor

Søren Nielsen wrote:
> 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@gmail.com 
> <mailto:ezindy@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@scipy.org <mailto:Numpy-discussion@scipy.org>
>     http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>   



More information about the Numpy-discussion mailing list