I couldn't intially install numpy on python2.4...installing then
importing resulted in the following (please read below before
answering thanks)
>>> import numpy
Traceback (most recent call last):
File "", line 1, in ?
File "/cluster/lib/python2.4/site-packages/numpy/__init__.py", line 147
On Mon, Oct 4, 2010 at 00:41, Ioan Ferencik wrote:
> Hello list,
>
> I am trying to pass elements of a custom defined with C API.
> I have successfully wrapped a type around a C struct.
> I intent to create a list with these objects and process it using numpy C API.
> So i create an array:
>
> ar
Hi,
if you have 3 cols of 10 000 000 lines, that should add up 30
Mega-numbers. That is 240 MB for double, and 120 MB for single
precision.
That should not require a 64bit OS.
You probably have a problem because reading from text is using extra
memory. Can you not convert the file "line-by-line"
Hello list,
I am trying to pass elements of a custom defined with C API.
I have successfully wrapped a type around a C struct.
I intent to create a list with these objects and process it using numpy C API.
So i create an array:
array = (PyArrayObject *)PyArray_ContiguousFromObject(input,
PyArr