[Numpy-discussion] Build external C functions that take numpy arrays as parameters and return numpy arrays

Geoffrey Zhu zyzhu2000 at gmail.com
Sun Jul 29 21:54:58 EDT 2007


On 7/29/07, Lou Pecora <lou_boog2000 at yahoo.com> wrote:
> I wrote a basic article on C extensions using NumPy
> arrays on the SciPy.org site.  See:
> Cookbook/C_Extensions/NumPy at
>
> http://www.scipy.org/Cookbook/C_Extensions/NumPy_arrays?highlight=%28%28----%28-%2A%29%28%5Cr%29%3F%5Cn%29%28.%2A%29CategoryCookbook%5Cb%29
>
> It's very basic, but should get you started.  Note
> that once you get the patterns down for NumPy then
> other extensions are mostly the same pattern over and
> over.
>
> -- Lou Pecora

That was the 'template' I was using.



More information about the NumPy-Discussion mailing list