[Numpy-discussion] Build external C functions that take numpy arrays as parameters and return numpy arrays
haase at msg.ucsf.edu
Sun Jul 29 05:50:53 EDT 2007
Note also that there was essentially the very same question on this
list just a few days ago. At the time, there were many answers and
quite a discussion...
Hope you can find the list archive at scipy.org.
On 7/29/07, Matthieu Brucher <matthieu.brucher at gmail.com> wrote:
> The simplest way of doing this is with ctypes : http://scipy.org/Cookbook/Ctypes
> 2007/7/24, computer_guy < zyzhu2000 at gmail.com>:
> > Hi Everyone,
> > I am going to write some external C functions that takes in numpy
> > arrays as parameters and return numpy arrays. I have the following
> > questions:
> > 1. What should I do in my C code?
> > 2. Can I use any C compiler to build my library that takes numpy
> > arrays? I am using Windows XP and Visual Studio 2005.
> > 3. How can I generate the python binding?
> > Thanks,
> > cg
> > _______________________________________________
> > Numpy-discussion mailing list
> > Numpy-discussion at scipy.org
> > http://projects.scipy.org/mailman/listinfo/numpy-discussion
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
More information about the NumPy-Discussion