Re: [Numpy-discussion] C-API Documentation?

2007-09-25 Thread David M. Cooke
On Mon, Sep 24, 2007 at 06:07:29PM +0300, dmitrey wrote: > I don't know anything about C API, but scipy documentation from the website > http://www.scipy.org/doc/api_docs/ > is dated 14 August 2007, so scipy 0.6.0 doc differs significantly. > D. I was confused until I checked that page -- you mean

Re: [Numpy-discussion] C-API Documentation?

2007-09-24 Thread Bill Baxter
On 9/25/07, Thomas Schreiner <[EMAIL PROTECTED]> wrote: > > Andrew Straw schrieb: > > Thomas Schreiner wrote: > >> Am I doing anything wrong in this program? It's crashing immediately > >> after the "before" line, using Borland C++ Builder 6 and > >> numpy-1.0.3.1.win32-py2.4. > > You have to call

Re: [Numpy-discussion] C-API Documentation?

2007-09-24 Thread Eric Firing
Thomas Schreiner wrote: > Hi, > > is there any more documentation about the numpy C API than the one at > http://projects.scipy.org/scipy/numpy/wiki/NumPyCAPI If you have not already done so, I recommend following the suggestion at the bottom of that page, and buying Travis's book (http://www.t

Re: [Numpy-discussion] C-API Documentation?

2007-09-24 Thread Thomas Schreiner
Andrew Straw schrieb: > Thomas Schreiner wrote: >> Am I doing anything wrong in this program? It's crashing immediately >> after the "before" line, using Borland C++ Builder 6 and >> numpy-1.0.3.1.win32-py2.4. > You have to call import_array() before using the C API. Thanks a lot, that was the p

Re: [Numpy-discussion] C-API Documentation?

2007-09-24 Thread Andrew Straw
Thomas Schreiner wrote: > Am I doing anything wrong in this program? It's crashing immediately > after the "before" line, using Borland C++ Builder 6 and > numpy-1.0.3.1.win32-py2.4. You have to call import_array() before using the C API. ___ Numpy-disc

Re: [Numpy-discussion] C-API Documentation?

2007-09-24 Thread Thomas Schreiner
Hi. dmitrey wrote: > Thomas Schreiner wrote: >> is there any more documentation about the numpy C API than the one >> at http://projects.scipy.org/scipy/numpy/wiki/NumPyCAPI ? > > I don't know anything about C API, but scipy documentation from the > website > http://www.scipy.org/doc/api_docs/ i

Re: [Numpy-discussion] C-API Documentation?

2007-09-24 Thread dmitrey
I don't know anything about C API, but scipy documentation from the website http://www.scipy.org/doc/api_docs/ is dated 14 August 2007, so scipy 0.6.0 doc differs significantly. D. Thomas Schreiner wrote: > Hi, > > is there any more documentation about the numpy C API than the one at > http://proj

[Numpy-discussion] C-API Documentation?

2007-09-24 Thread Thomas Schreiner
Hi, is there any more documentation about the numpy C API than the one at http://projects.scipy.org/scipy/numpy/wiki/NumPyCAPI ? This one deals mostly with creating NumPy arrays in C, but I'm more interested in manually filling the arrays with actual data, because wrapping of memory is not poss