[Numpy-discussion] Examples of basic C API usage?

Bill Baxter wbaxter at gmail.com
Tue Aug 8 16:25:10 CDT 2006


Ah, great.  That is helpful, though it does seem to be a bit outdated.

--bb

On 8/8/06, Karol Langner <karol.langner at kn.pl> wrote:
>
> On Tuesday 08 of August 2006 05:18, Bill Baxter wrote:
> > I see Pyrex and SWIG examples in numpy/doc but there doesn't seem to be
> an
> > example of just a simple straightforward usage of the C-API.
> > For instance make a few arrays by hand in C and then call numpy.multiply
> ()
> > on them.  So far my attempts to call PyArray_SimpleNewFromData all
> result
> > in segfaults.
> > Anyone have such an example?
> >
> > --Bill
>
> Have you looked here?
>
> http://numeric.scipy.org/numpydoc/numpy-13.html#pgfId-36640
>
> Karol
>
> --
> written by Karol Langner
> wto sie  8 15:45:16 CEST 2006
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20060809/4696bc72/attachment-0001.html 


More information about the Numpy-discussion mailing list