Re: [Numpy-discussion] calling C function from Python via f2py

2010-05-23 Thread Nadav Horesh
in test.py change to print FFMCcalc.FFMCcalc(T,H,W,ro,Fo) As implied from the line print FFMCcalc.FFMCcalc.__doc__ Nadav -Original Message- From: numpy-discussion-boun...@scipy.org on behalf of Matt Fearon Sent: Fri 21-May-10 21:55 To: numpy-discussion@scipy.org Subject:

Re: [Numpy-discussion] Can not compile numpy with python2.7 onl linux

2010-05-23 Thread Charles R Harris
On Sun, May 23, 2010 at 1:40 AM, Nadav Horesh nad...@visionsense.comwrote: I think that line 3405 in _capi.c (svn 8386) should be: #if PY_VERSION_HEX = 0x0301 (At least it looks reasonable considering line 3375, and it solves my problem) Does the following work? PyCObject is

[Numpy-discussion] The labeled array package at a glance

2010-05-23 Thread Keith Goodman
For those not familiar with the la package and its labeled array, larry, here's a table that gives you a quick overview: http://bazaar.launchpad.net/~kwgoodman/larry/trunk/annotate/head:/doc/source/intro.rst#L120 ___ NumPy-Discussion mailing list

Re: [Numpy-discussion] Summation of large float32/float64 arrays

2010-05-23 Thread Alan G Isaac
On 5/21/2010 8:34 PM, Christoph Gohlke wrote: the 32-bit Python interpreter can only use 2 GB of your memory Why? 2**32/1e9 4.294967296003 Thanks, Alan ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org

Re: [Numpy-discussion] Summation of large float32/float64 arrays

2010-05-23 Thread Christoph Gohlke
On 5/23/2010 6:04 PM, Alan G Isaac wrote: On 5/21/2010 8:34 PM, Christoph Gohlke wrote: the 32-bit Python interpreter can only use 2 GB of your memory Why? 2**32/1e9 4.294967296003 Because 2 GB is the memory limit for 32-bit processes running in user-mode

Re: [Numpy-discussion] Summation of large float32/float64 arrays

2010-05-23 Thread Alan G Isaac
On 5/23/2010 9:33 PM, Christoph Gohlke wrote: 2 GB is the memory limit for 32-bit processes running in user-mode under 64-bit Windows, unless the executable was specifically built with 'IMAGE_FILE_LARGE_ADDRESS_AWARE' set. Seehttp://msdn.microsoft.com/en-us/library/aa366778%28VS.85%29.aspx