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

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 > h

[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

[Numpy-discussion] Crash on "import numpy" [including fix]

2007-09-20 Thread Thomas Schreiner
e incorporating this fix into trunk? I'm having some trouble recompiling numpy myself, so I would really appreciate this fix to be applied upstream so that the windows installer includes it. Cheers, Thomas -- Thomas Schreiner, AGBS Max Planck Institute for Biological Cyberneti

Re: [Numpy-discussion] Floating point exception with numpy and embedded python interpreter

2007-09-20 Thread Thomas Schreiner
Arkaitz Bitorika gmail.com> writes: > I've verified that the function causes the exception when embedded in > the program but not when used from a simple C program with just a main > () function. The successful version iterates 31 times over the for > loop while the crashing one fails the 30t